forked from stan-dev/pystan2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
28 lines (27 loc) · 835 Bytes
/
.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
language: python
env:
- TEST_SUITE_REGEX='^test_rstan'
- TEST_SUITE_REGEX='^(?!test_rstan).*'
python:
- "2.7"
- "3.3"
# notifications
notifications:
email:
recipients:
on_success: change
on_failure: always
# command to install dependencies
before_install:
- sudo apt-get install -qq liblapack-dev gfortran libblas-dev
install:
- "pip install -q --use-mirrors Cython"
- "pip install -q --use-mirrors numpy"
# do not quiet scipy since compiling takes so long; travis-ci assumes there
# has been an error if no output received in 10m
- "pip install --use-mirrors scipy"
- "pip install -q --use-mirrors matplotlib "
- "pip install ."
# command to run tests
script: nosetests -w /tmp --process-timeout=1200 --processes=2 --exclude=$TEST_SUITE_REGEX pystan.tests