-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
47 lines (47 loc) · 1.33 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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# see: http://about.travis-ci.org/docs/user/languages/python/
language: python
python:
#- 2.4
#- 2.5
- 2.6
- 2.7
- 3.3
- 3.4
- 3.5
# see: http://docs.travis-ci.com/user/caching/#pip-cache
cache: pip
#matrix:
# include:
# - python: 2.4
# env: FULL="true"
# - python: 2.5
# env: FULL="true"
# - python: 2.6
# env: FULL="true"
# - python: 2.7
# env: FULL="true"
## - python: 3.2
## env: LANG="en_US.utf-8"
# see: http://docs.travis-ci.com/user/migrating-from-legacy/
sudo: false
install:
- if [[ $TRAVIS_PYTHON_VERSION < '2.7' ]]; then pip install -r pkg/test_requirements-py-2.6.txt; else pip install -r pkg/test_requirements.txt; fi
# - if [[ $TRAVIS_PYTHON_VERSION < '2.7' && $WITH_DEPS == true ]]; then pip install -r pkg/requirements_full-py-2.6.txt; fi
# - if [[ $TRAVIS_PYTHON_VERSION > '2.6' && $WITH_DEPS == true ]]; then pip install -r pkg/requirements_full.txt; fi
env:
global:
- WITH_COVERAGE=1
- WITH_DEPS=true
# TODO: It's needed to process ImportError with anyconfig.backend.*, etc.
#matrix:
# - WITH_DEPS=true
# - WITH_DEPS=false
script:
- "./pkg/runtest.sh"
after_success:
- coveralls
notifications:
email:
recipients:
on_failure: always