-
Notifications
You must be signed in to change notification settings - Fork 9
/
.travis.yml
47 lines (38 loc) · 1.09 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
language: python
python:
- "2.7"
virtualenv:
system_site_packages: true
notifications:
email: false
# new container based dependencies
sudo: false
addons:
apt:
packages:
- libatlas-base-dev
- gfortran
- python-numpy
- python-matplotlib
- cython
- python-tk # for matplotlib in server
# install up to date scipy, taken from
# https://gist.github.com/debsankha/7f610a9f2a826803381a
before_install:
- mkdir -p $HOME/.cache/pip/wheels
# build wheel only if none present
- travis_wait pip wheel --find-links=$HOME/.cache/pip/wheels --use-wheel --wheel-dir=$HOME/.cache/pip/wheels scipy
# now install from it
- pip install --no-index --find-links=$HOME/.cache/pip/wheels scipy
# optional requirements
- pip install theano
- pip install git+https://github.com/jcrudy/choldate.git
install:
- pip install -r requirements.txt --use-mirrors
- pip install coveralls
script:
- python setup.py install
- nosetests --with-coverage --cover-package=kernel_hmc
- cd kernel_hmc/examples && sh run_all.sh && cd ../..
after_success:
- coveralls