forked from joblib/joblib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
30 lines (25 loc) · 1.17 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
# make it explicit that we favor the new container-based travis workers
sudo: false
language: python
env:
matrix:
- PYTHON_VERSION="2.7" NUMPY_VERSION="1.6"
- PYTHON_VERSION="2.7" NUMPY_VERSION="1.7" COVERAGE="true"
- PYTHON_VERSION="3.4" NUMPY_VERSION="1.9"
# NUMPY_VERSION not set means numpy is not installed
- PYTHON_VERSION="3.4" COVERAGE="true"
- PYTHON_VERSION="3.5" NUMPY_VERSION="1.10"
- PYTHON_VERSION="3.6" NUMPY_VERSION="1.11" COVERAGE="true" BUILD_DOC="true"
# multiprocesssing disabled via the JOBLIB_MULTIPROCESSING environment variable
- PYTHON_VERSION="3.6" NUMPY_VERSION="1.11" JOBLIB_MULTIPROCESSING=0 COVERAGE="true"
# flake8 linting on diff wrt common ancestor with upstream/master
- SKIP_TESTS="true" FLAKE8_VERSION="3.5" PYTHON_VERSION="3.6"
install:
- source continuous_integration/travis/install.sh
script:
- source continuous_integration/travis/test_script.sh
after_success:
# Ignore codecov failures because we don't want travis to report a
# failure in the github UI just because the coverage report failed
# to be published.
- if [[ "$COVERAGE" == "true" ]]; then codecov || echo "failed"; fi