forked from roskakori/cutplace
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
28 lines (28 loc) · 1.02 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Travis configuration file using the build matrix feature
# Read more under http://docs.travis-ci.com/user/build-configuration/
language: python
virtualenv:
system_site_packages: true
env:
matrix:
- DISTRIB="conda" PYTHON_VERSION="3.6" COVERAGE="true"
- DISTRIB="conda" PYTHON_VERSION="3.5" COVERAGE="false"
- DISTRIB="conda" PYTHON_VERSION="3.4" COVERAGE="false"
- DISTRIB="conda" PYTHON_VERSION="2.7" COVERAGE="false"
# - DISTRIB="ubuntu" PYTHON_VERSION="2.6" COVERAGE="false"
install:
- source tests/travis_install.sh
- pip install -r requirements.txt
- pip install -r requirements-dev.txt
before_script:
- git config --global user.email "[email protected]"
- git config --global user.name "YTEC"
script:
- python setup.py sdist --formats=zip
- python setup.py bdist_wheel --universal
- python setup.py test
- if [[ "$PYTHON_VERSION" == "3.6" ]]; then python setup.py doctest || echo "failed"; fi
after_success:
- if [[ "$COVERAGE" == "true" ]]; then coveralls || echo "failed"; fi
cache:
- apt