Skip to content
Permalink
master
Go to file
 
 
Cannot retrieve contributors at this time
30 lines (25 sloc) 918 Bytes
addons:
apt:
packages: lcov
language: python
dist: xenial
python:
- "2.7"
- "3.7"
- "3.8"
before_install:
# Note that pyaaf is only needed for the AAF adapter
# We need to get a wheel that matches our Python version
- if [[ $TRAVIS_PYTHON_VERSION == 2.7 ]]; then export TOX_ENV=py27 ; fi
- if [[ $TRAVIS_PYTHON_VERSION == 3.7 ]]; then export TOX_ENV=py37 ; fi
- if [[ $TRAVIS_PYTHON_VERSION == 3.8 ]]; then export TOX_ENV=py38 ; fi
install:
# tox-travis installs tox and also makes working with travis better.
- pip install tox-travis coverage
script:
- tox -e $TOX_ENV
after_success:
# Documentation for codecov uploader
# https://docs.codecov.io/docs/about-the-codecov-bash-uploader
# run it twice, once to just print out data for debugging
- bash <(curl -s https://codecov.io/bash) -F $TOX_ENV -f .tox/build-$TOX_ENV/coverage.info -f .coverage
You can’t perform that action at this time.