-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
executable file
·54 lines (44 loc) · 1.38 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
language: python
python:
- "2.7"
os:
- linux
matrix:
include:
- os: linux
dist: xenial
fast_finish: true
git:
depth: 3
branches:
only:
- v1.0
- master
notifications:
email:
recipients:
- julestawo@yahoo.fr
on_success: always # default: change
on_failure: always # default: always
before_install:
# install python dev libs
- sudo apt-get -y install python-dev python-pip python-setuptools
- sudo apt-get update
- sudo pip install --upgrade pip
- sudo apt-get -y install zlib1g-dev libpng-dev libjpeg-dev
- sudo apt-get -y install build-essential libssl-dev libffi-dev
- sudo apt-get -y install libtesseract-dev libleptonica-dev
- sudo apt-get -y install cython
- sudo pip install Cython
- sudo apt-get install gcc g++
- sudo apt-get install autoconf automake libtool checkinstall
- sudo apt-get -y install tesseract-ocr
- sudo apt-get -y install tesseract-ocr-fra
- sudo apt-get -y install tesseract-ocr-dev
- sudo apt-get -y install python-html5lib python-lxml python-bs4
- sudo pip install http://effbot.org/downloads/Imaging-1.1.7.tar.gz
script:
# run static analysis tools on modified files if needed
- cd metalex/test/
- python runMetalex.py -h --stderr
- python runMetalex.py -p 'projectTestName' -c 'testAuthor' 'testComment' 'testContributors' -d 'dicImages' -r 'file_Rule.dic' -l 'fra' -s --stderr