This repository was archived by the owner on Jul 2, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
75 lines (69 loc) · 2.12 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
language: python
# using container based testing is faster, but you can't use sudo
sudo: false
python:
# - "2.7_with_system_site_packages"
- "3.6"
# - "2.7"
# command to install dependencies that require sudo
# https://github.com/travis-ci/apt-package-whitelist/blob/master/ubuntu-precise
# addons:
# apt:
# packages:
# # - python-zmq
# # - python-nose
# # - python-numpy
# # - python-six
# # - python-yaml
# - libzmq3-dev
# - sox
# # - python-opencv
# # - libopencv-dev
# - libportaudio-dev
# # - python-numpy
# # - python-scipy
# - gnustep
# # opencv3 build
# - python-numpy
# - python-yaml
# - build-essential
# - cmake
# - python-tk
# - libgtk2.0-dev
# - pkg-config
# - libavcodec-dev
# - libavformat-dev
# - libswscale-dev
# - python-dev
# - python-numpy
# - libtbb-dev
# - libjpeg-dev
# - libpng-dev
# - libtiff-dev
# - libjasper-dev
# - ffmpeg
# - python-matplotlib
# cache the opencv3 build so we don't have to rebuild it every time
# cache:
# directories:
# - $OPENCV_INSTALL_DIR
# pip: true
# env:
# global:
# - OPENCV_VERSION=3.2.0
# - OPENCV_INSTALL_DIR="$HOME/opencv-$OPENCV_VERSION-install"
# - LD_LIBRARY_PATH="$OPENCV_INSTALL_DIR/lib"
# - PKG_CONFIG_PATH="$OPENCV_INSTALL_DIR/lib/pkgconfig"
# - PYTHONPATH="$OPENCV_INSTALL_DIR/lib/python2.7/site-packages"
# install other libraries using pip
install:
# - ./install-opencv.sh
- pip install -U pip setuptools wheel
# - pip install -U pyzmq pyyaml opencvutils simplejson wit quaternions numdifftools pyrk
- pip install -U pyzmq pyyaml simplejson msgpack build_utils colorama
- pip install -e .
# - pip install -U -r requirements.txt
- pip list
# command to run tests
script: nosetests -v -w tests test.py
# script: true