forked from nilearn/nilearn
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
48 lines (41 loc) · 1.7 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
language: python
virtualenv:
system_site_packages: true
env:
global:
- TEST_RUN_FOLDER="/tmp" # folder where the tests are run from
matrix:
# Do not wait for the allowed_failures entry to finish before
# setting the status
fast_finish: true
allow_failures:
# allow_failures seems to be keyed on the python version
- python: 2.7
include:
# Ubuntu 14.04 versions (with neurodebian)
- env: DISTRIB="conda" PYTHON_VERSION="2.7"
NUMPY_VERSION="1.8.2" SCIPY_VERSION="0.13.3"
SCIKIT_LEARN_VERSION="0.15.1" MATPLOTLIB_VERSION="1.3.1"
NIBABEL_VERSION="1.2.0" COVERAGE="true"
# Ubuntu 14.04 versions without matplotlib
- env: DISTRIB="conda" PYTHON_VERSION="2.7"
NUMPY_VERSION="1.8.2" SCIPY_VERSION="0.13.3"
SCIKIT_LEARN_VERSION="0.14.1"
# Neurodebian
- env: DISTRIB="neurodebian" PYTHON_VERSION="2.7"
# Python 3.4 with intermediary versions
- env: DISTRIB="conda" PYTHON_VERSION="3.4"
NUMPY_VERSION="1.8" SCIPY_VERSION="0.14"
SCIKIT_LEARN_VERSION="0.15" MATPLOTLIB_VERSION="1.4"
# Most recent versions
- env: DISTRIB="conda" PYTHON_VERSION="3.5"
NUMPY_VERSION="*" SCIPY_VERSION="*"
SCIKIT_LEARN_VERSION="*" MATPLOTLIB_VERSION="*" COVERAGE="true"
# FLAKE8 linting on diff wrt common ancestor with upstream/master
# Note: the python value is only there to trigger allow_failures
- python: 2.7
env: DISTRIB="conda" PYTHON_VERSION="2.7" FLAKE8_VERSION="*" SKIP_TESTS="true"
install: source continuous_integration/install.sh
before_script: make clean
script: source continuous_integration/test_script.sh
after_success: source continuous_integration/after_success.sh