forked from markovmodel/PyEMMA
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
56 lines (49 loc) · 1.18 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
language: c
git:
submodules: false
depth: 500
os:
- osx
- linux
sudo: false
env:
global:
- MINICONDA_DIR="$HOME/miniconda"
- PYTHONHASHSEED=0
- OMP_NUM_THREADS=2
- PYEMMA_NJOBS=1
- MACOSX_DEPLOYMENT_TARGET=10.9
- CONDA_BUILD=YES
matrix:
- CONDA_PY='3.6'
CONDA_NPY='1.16'
- CONDA_PY='3.7'
CONDA_NPY='1.17'
- CONDA_PY='3.8'
CONDA_NPY='1.17'
matrix:
exclude: # test only 3.8 on osx.
- env: CONDA_PY=3.6
os: osx
include: # test pip install
- env: CONDA_PY=3.7 CONDA_BUILD=NO python="3.7"
os: linux
dist: bionic # You’ll need to add dist: bionic to use Python 3.7 and higher.
language: python
sudo: true
before_install:
- if [[ ${CONDA_BUILD} = YES ]]; then
source devtools/ci/travis/install_miniconda.sh;
fi
script:
- if [[ ${CONDA_BUILD} = YES ]]; then
conda build -q devtools/conda-recipe -c conda-forge;
else
pip install pip -U;
pip install . ;
rm -r pyemma;
pip install pytest tables;
pytest --pyargs pyemma;
fi
after_script:
- if [[ ${CONDA_BUILD} = YES ]]; then bash <(curl -s https://codecov.io/bash) -f $HOME/coverage.xml -e CONDA_PY; fi