cryptoauthlib-sys 0.2.2

Automatically generated Rust bindings for CryptoAuthentication Library calls.
Documentation
language: python

matrix:
  include:
#    - sudo: required
#      services:
#        - docker
#      env:
#        - PIP=pip
#        - PYTHON=python
#        - CIBW_BEFORE_BUILD_LINUX='yum install cmake -y'
    - os: osx
      language: generic
      compiler: gcc
      env:
        - PIP=pip2
        - PYTHON=python2

script:
  - cd python
  - git describe --exclude v* --tags --abbrev=0 >VERSION
  - cp -r ../lib .
  - cp -r ../third_party .
  - cp ../test/atca_utils_sizes.c .
  - mkdir app
  - cp -r ../app/tng app
  - $PIP install wheel
  - $PYTHON setup.py sdist --dist-dir wheelhouse
  - $PIP install cibuildwheel
  - export CIBW_SKIP='cp34-*'
  - export CIBW_BUILD_VERBOSITY=3
  - cibuildwheel --output-dir wheelhouse
  - |

    if [[ $TRAVIS_TAG  =~ ^[0-9]+$ ]]; then
      $PIP install twine
      $PYTHON -m twine upload wheelhouse/* --skip-existing
    fi