forked from enthought/pyql
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
23 lines (23 loc) · 992 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
# After changing this file, check it on:
# http://lint.travis-ci.org/
language: python
python:
- 2.6
- 2.7
before_install:
- sudo apt-get update
- sudo apt-get install libquantlib0-dev
- pip install numpy --use-mirrors
- pip install cython --use-mirrors
- if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then pip install unittest2; fi
#- if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then patch -s /home/vagrant/virtualenv/python2.6/local/lib/python2.6/site-packages/Cython/Build/Dependencies.py cython_0.16.patch; fi
- if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then patch -s /home/vagrant/virtualenv/python2.7/local/lib/python2.7/site-packages/Cython/Build/Dependencies.py cython_0.16.patch; fi
- pip install pandas --use-mirrors
install:
make build
script:
- if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then python -m unittest2.__main__ discover; fi
- if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then python -m unittest discover; fi
notifications:
email: