forked from pmeier82-zz/BOTMpy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
42 lines (33 loc) · 1.13 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
## INIT
language: c
env:
# - PYTHON_VER=2.6 NUMPY_VER=1.6.2 CYTHON_VER=0.21
# - PYTHON_VER=2.7 NUMPY_VER=1.7.1 CYTHON_VER=0.21
- PYTHON_VER=2.7 NUMPY_VER=1.8.2 CYTHON_VER=0.21
notifications:
email: false
## INSTALL
before_install:
# grab `conda` and bring it up to date
- wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh;
- chmod +x ./miniconda.sh;
- ./miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
- conda update --yes conda
- conda info -a
# fix for the /dev/shm slink annoyance (bugs out `multiprocessing`)
# - sudo rm -rf /dev/shm
# - sudo ln -s /run/shm /dev/shm
install:
- conda create --yes -n py-${PYTHON_VER}_np-${NUMPY_VER} python=${PYTHON_VER} atlas numpy=${NUMPY_VER} scipy scikit-learn MDP pyyaml pytables cython>=${CYTHON_VER} pip nose
- source activate py-${PYTHON_VER}_np-${NUMPY_VER}
- pip install coveralls
- python --version
- python setup.py build_ext --inplace
- python setup.py install
## SCRIPT
script:
- nosetests --with-coverage --cover-package=botmpy --logging-level=INFO
after_success:
- coveralls
## EOF