forked from python-control/python-control
/
.travis.yml
33 lines (32 loc) · 863 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
29
30
31
32
33
language: python
python:
- "2.7"
- "3.2"
- "3.3"
# install required system libraries
before_install:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- sudo apt-get update --fix-missing -qq
- sudo apt-get build-dep python-scipy -qq
# command to install dependencies from source
# note, separating requirements so that travis
# will get output in less than 5 min and won't
# terminate, using q to keep build info to a
# minumum for dependencies
install:
- while [[ 1 ]]; do echo "building deps"; sleep 300; done &
- msg_pid=$!
- pip install -q coverage
- pip install -q coveralls
- pip install -q nose
- pip install -q numpy
- pip install -q scipy
- pip install -q slycot
- pip install -q matplotlib
- kill $msg_pid
# command to run tests
script:
- coverage run --source=control setup.py test
after_success:
- coveralls