forked from sandialabs/toyplot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
29 lines (28 loc) · 1.15 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
28
29
language: python
python:
- "2.7"
- "3.3"
before_install:
- sudo apt-get update -qq
- sudo apt-get install -y python-gtk2 wget
- env | sort
- cd $VIRTUAL_ENV
- mkdir -p lib/python2.7/dist-packages/
- ln -s /usr/lib/python2.7/dist-packages/glib/ lib/python2.7/dist-packages/
- ln -s /usr/lib/python2.7/dist-packages/gobject/ lib/python2.7/dist-packages/
- ln -s /usr/lib/python2.7/dist-packages/gtk-2.0* lib/python2.7/dist-packages/
- ln -s /usr/lib/python2.7/dist-packages/pygtk.pth lib/python2.7/dist-packages/
- ln -s /usr/lib/python2.7/dist-packages/cairo lib/python2.7/dist-packages/
- cd $TRAVIS_BUILD_DIR
- wget http://johnvansickle.com/ffmpeg/releases/ffmpeg-release-64bit-static.tar.xz
- mkdir ffmpeg
- tar xf ffmpeg-release-64bit-static.tar.xz --strip-components 1 -C ffmpeg
- export PATH=$TRAVIS_BUILD_DIR/ffmpeg:$PATH
install:
- pip install behave "colormath>=2.1.0" coverage coveralls mock multipledispatch networkx "numpy>=1.7"
script:
- coverage run --source toyplot --omit toyplot/testing.py -m nose
- coverage run --append --source toyplot --omit toyplot/testing.py -m behave
- coverage report
after_script:
- coveralls