-
Notifications
You must be signed in to change notification settings - Fork 49
/
.travis.yml
27 lines (21 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
language: python
python:
- "2.7"
# - "3.3" not working really well on Ubuntu 12.10
virtualenv:
system_site_packages: true
before_install:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- "sudo apt-get update"
- "if [[ $TRAVIS_PYTHON_VERSION == 2.7 ]]; then sudo apt-get install -qq python-numpy python-scipy python-qt4 python-qt4-gl python-qt4-dev python-sip python-sip-dev python-opengl python-matplotlib; fi"
- "if [[ $TRAVIS_PYTHON_VERSION == 3.3 ]]; then sudo apt-get install -qq python3-pyqt4; fi"
- "if [[ $TRAVIS_PYTHON_VERSION == 3.3 ]]; then sudo apt-get build-dep -qq python3-numpy; fi"
install:
- "pip install -U --use-mirrors cython"
- "if [[ $TRAVIS_PYTHON_VERSION == 3.3 ]]; then pip install -U --use-mirrors numpy; fi"
- "if [[ $TRAVIS_PYTHON_VERSION == 3.3 ]]; then pip install -U --use-mirrors scipy; fi"
- "if [[ $TRAVIS_PYTHON_VERSION == 3.3 ]]; then pip install -U --use-mirrors pyopengl nose matplotlib; fi"
- "python setup.py build_ext --inplace"
- "python setup.py install"
script: "nosetests -a '!slow' tests.test_core tests.test_db tests.test_io"