forked from Neuroinflab/kCSD-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
46 lines (37 loc) · 1.27 KB
/
.travis.yml
File metadata and controls
46 lines (37 loc) · 1.27 KB
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
dist: trusty
language: python
sudo: false
python:
- 2.7.14
branches:
only:
- master
env:
matrix:
# This environment tests the newest supported anaconda env
- DISTRIB="conda" PYTHON_VERSION="2.7"
NUMPY_VERSION="1.10.4" SCIPY_VERSION="0.16.1"
SIX_VERSION="1.10.0" COVERAGE="true"
- DISTRIB="conda" PYTHON_VERSION="3.5"
NUMPY_VERSION="1.10.4" SCIPY_VERSION="0.16.1"
SIX_VERSION="1.10.0" COVERAGE="true"
# # This environment tests conda extras matplotlib
# - DISTRIB="conda_extra" PYTHON_VERSION="3.5"
# NUMPY_VERSION="1.10.4" SCIPY_VERSION="0.16.1"
# SIX_VERSION="1.10.0" COVERAGE="true"
# This environment tests minimal dependency versions
- DISTRIB="conda_min" PYTHON_VERSION="2.7"
SIX_VERSION="1.10.0" NUMPY_VERSION="1.10.4" SCIPY_VERSION="0.16.1"
COVERAGE="true"
- DISTRIB="conda_min" PYTHON_VERSION="3.4"
SIX_VERSION="1.10.0" NUMPY_VERSION="1.10.4" SCIPY_VERSION="0.16.1"
COVERAGE="true"
# Turn off notifications
notifications:
email: false
# command to install dependencies
install: source continuous_integration/install.sh
# command to run tests
script: bash continuous_integration/test_script.sh
after_success:
- if [[ "$COVERAGE" == "true" ]]; then coveralls || echo "failed"; fi