Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
34 lines (32 sloc) 1.02 KB
# Travis configuration file using the build matrix feature
# Read more under http://docs.travis-ci.com/user/build-configuration/
# THIS SCRIPT IS SUPPOSED TO BE AN EXAMPLE. MODIFY IT ACCORDING TO YOUR NEEDS!
sudo: false
language: python
virtualenv:
system_site_packages: true
matrix:
include:
- python: 3.4
env: DISTRIB="ubuntu" TOX_PYTHON_VERSION="py34" COVERAGE="true"
- env: DISTRIB="conda" PYTHON_VERSION="3.6" COVERAGE="false"
install:
- source tests/travis_install.sh
- pip install -r requirements.txt
# ^ DEPRECATION WARNING:
# The automatic creation of a `requirements.txt` file is deprecated.
# See `Dependency Management` in the docs for other options.
before_script:
- git config --global user.email "you@example.com"
- git config --global user.name "Your Name"
script:
- python setup.py test
# ^ Change here if using tox
after_success:
- if [[ "$COVERAGE" == "true" ]]; then coveralls || echo "failed"; fi
after_script:
- travis-cleanup
cache:
pip: true
directories:
- $HOME/miniconda
You can’t perform that action at this time.