-
Notifications
You must be signed in to change notification settings - Fork 66
/
.travis.yml
executable file
·63 lines (54 loc) · 2.36 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
sudo: required
dist: xenial
language: python
matrix:
# Do not wait for the allowed_failures entry to finish before
# setting the status
fast_finish: true
allow_failures:
# allow_failures keyed to python 3.5 & skipping tests.
- python: "3.5"
env: DISTRIB="travisci" PYTHON_VERSION="3.5" FLAKE8_VERSION="*" SKIP_TESTS="true"
include:
- name: "Python 3.5 latest package versions"
python: "3.5"
env: DISTRIB="travisci" PYTHON_VERSION="3.5"
NUMPY_VERSION="*" SCIPY_VERSION="*" PANDAS_VERSION="*"
SCIKIT_LEARN_VERSION="*" MATPLOTLIB_VERSION="*" COVERAGE="true"
JOBLIB_VERSION="*" NIPYPE_VERSION="*" NILEARN_VERSION="*"
NETWORKX_VERSION="*" CONFIGOBJ_VERSION="*" PYTEST_VERSION="4.1.0"
- name: "Python 3.6 latest package versions"
python: "3.6"
env: DISTRIB="travisci" PYTHON_VERSION="3.6"
NUMPY_VERSION="*" SCIPY_VERSION="*" PANDAS_VERSION="*"
SCIKIT_LEARN_VERSION="*" MATPLOTLIB_VERSION="*" COVERAGE="true"
JOBLIB_VERSION="0.12" NIPYPE_VERSION="*" PYTEST_VERSION="4.1.0"
NILEARN_VERSION="*" NETWORKX_VERSION="*" CONFIGOBJ_VERSION="*"
# joblib.Memory switches from keyword cachedir to location in version 0.12
# Making sure we get the deprecation warning.
- name: "Python 3.7 latest package versions"
python: "3.7"
env: DISTRIB="travisci" PYTHON_VERSION="3.7"
NUMPY_VERSION="*" SCIPY_VERSION="*" PANDAS_VERSION="*"
SCIKIT_LEARN_VERSION="*" MATPLOTLIB_VERSION="*" COVERAGE="true"
JOBLIB_VERSION="*" NIPYPE_VERSION="*" PYTEST_VERSION="4.3.0"
NILEARN_VERSION="*" NETWORKX_VERSION="*" CONFIGOBJ_VERSION="*"
- name: "Python 3.7 pre-release checks"
python: "3.7"
env: DISTRIB="travisci" PIP_FLAGS="--pre" COVERAGE="true"
NUMPY_VERSION="*" SCIPY_VERSION="*" PANDAS_VERSION="*"
SCIKIT_LEARN_VERSION="*" JOBLIB_VERSION="*"
NIPYPE_VERSION="*" NILEARN_VERSION="*" NETWORKX_VERSION="*"
MATPLOTLIB_VERSION="*" CONFIGOBJ_VERSION="*" PYTEST_VERSION="4.3.0"
install:
- pip install --upgrade pytest
- pip install --upgrade numpy
- source continuous_integration/install.sh
script:
- make clean
- make test-code
after_success:
- |
if [[ "$COVERAGE" == "true" ]]; then
coveralls || echo "coverage upload failed"
fi