forked from dchaplinsky/visual-logging
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
47 lines (39 loc) · 1.37 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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
language: python
virtualenv:
system_site_packages: true
cache:
apt: true
directories:
- /home/travis/virtualenv/python2.7/lib/python2.7/site-packages
before_install:
- sudo apt-get update
- sudo apt-get install -qq zlib1g-dev build-essential python-numpy
- wget http://prdownloads.sourceforge.net/libpng/libpng-1.5.12.tar.gz
- tar xzf libpng-1.5.12.tar.gz
- rm libpng-1.5.12.tar.gz
- pushd libpng-1.5.12
- ./configure --prefix=/usr/local
- make
- sudo make install
- sudo ldconfig
- popd
- curl -sL https://github.com/Itseez/opencv/archive/2.4.9.zip > opencv.zip
- unzip opencv.zip
- rm opencv.zip
- mkdir opencv-build
- pushd opencv-build/
- cmake -DCMAKE_BUILD_TYPE=RELEASE -DBUILD_DOCS=OFF -DBUILD_EXAMPLES=OFF -DBUILD_opencv_java=OFF -DBUILD_JASPER=ON -DWITH_JASPER=ON -DBUILD_ZLIB=ON -DBUILD_SHARED_LIBS=OFF -DBUILD_TESTS=OFF -DBUILD_PERF_TESTS=OFF -DWITH_OPENEXR=OFF -DBUILD_PNG=ON -DWITH_PNG=ON -DWITH_TIFF=ON -DBUILD_TIFF=ON -DWITH_WEBP=OFF -DWITH_JPEG=ON -DBUILD_JPEG=ON ../opencv-2.4.9/
- sudo make install
- popd
python:
- "2.7"
# - "3.4"
# - "3.3"
install:
- pip install -r devrequirements.txt
# command to run tests
script: nosetests -vs vlogging/tests/corner_cases.py vlogging/tests/basic.py --with-isolation --with-coverage --cover-erase --cover-package=.
notifications:
slack: unshredit:2nm3MUsOgq9Bz9bqDPAOPn7S
after_success:
- coveralls