forked from sightmachine/SimpleCV
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
26 lines (26 loc) · 838 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
language: python
python:
- 2.7
notifications:
email: false
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
before_install:
- sudo apt-get update
- sudo apt-get upgrade
- sudo apt-get install libavformat-dev
- sudo apt-get install ffmpeg
- sudo apt-get install libcv2.1
- sudo apt-get install libcvaux2.1
- sudo apt-get install libhighgui2.1
- sudo apt-get install libcv-dev
#~ - sudo apt-get install libcvaux-dev
#~ - sudo apt-get install libhighgui-dev
- sudo apt-get install python-opencv
# command to run tests, e.g. python setup.py test
install:
- find /usr/ | grep 'cv2.so'
- ln -s /usr/local/lib/python2.7/dist-packages/cv2.so ~/virtualenv/usr/lib/python2.7/dist-packages/cv2.so
- python setup.py install
script:
- cd SimpleCV/tests/
- nosetests tests.py