-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
25 lines (25 loc) · 851 Bytes
/
.travis.yml
File metadata and controls
25 lines (25 loc) · 851 Bytes
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
language: python
python:
- "3.5"
dist: "trusty"
# packages to install before anything else
before_install:
- sudo apt-get -qq update
- sudo apt-get install -y build-essential cmake pkg-config
- sudo apt-get install -y libjpeg8-dev libtiff4-dev libjasper-dev libpng12-dev
- sudo apt-get install -y libatlas-base-dev gfortran
- sudo apt-get install -y libboost-all-dev
- sudo apt-get install -y tesseract-ocr
- pip3.5 install pybuilder
# commands to install dependencies
install:
- pip3.5 install -r requirements.txt
- sudo apt-get install -y libzbar0
- sudo apt-get install -y libzbar-dev
- pip3.5 install pyzbar==0.1.4
- pip3.5 install pyzbar[scripts]
- pip3.5 install zbar-py==1.0.4
- pyb install_dependencies
- pip3.5 install opencv-python==3.2.0.8
# command to build project
script: pyb analyze full publish install