forked from markovmodel/PyEMMA
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
34 lines (28 loc) · 1 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
language: c
sudo: false
env:
global:
- PATH=$HOME/miniconda/bin:$PATH
# note: mdtraj and coveralls are provided by omnia binstar repo
- common_py_deps="pylint jinja2 conda-build python-coveralls"
matrix:
- python=2.7 CONDA_PY=27 CONDA_NPY=17
- python=3.3 CONDA_PY=33 CONDA_NPY=18
- python=3.4 CONDA_PY=34 CONDA_NPY=18
- python=3.4 CONDA_PY=34 CONDA_NPY=19
before_install:
- tools/ci/travis/install_miniconda.sh
- conda config --set always_yes true
- conda config --add channels http://conda.binstar.org/omnia
- conda install $common_py_deps
# use a headless plotting backend for matplotlib
- mkdir -p ~/.config/matplotlib/
- touch ~/.config/matplotlib/matplotlibrc
- "echo 'backend: Agg' >> ~/.config/matplotlib/matplotlibrc"
script:
- conda build tools/conda-recipe
# run pylint (non fatal exit and show only errors)
#- pylint -j 4 --rcfile=.pylintrc pyemma || true
after_success:
# coverage report: needs .coverage file generated by testsuite and git src
- pwd; coveralls