-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.travis.yml
49 lines (43 loc) · 1.21 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
language: cpp
sudo: required
dist: trusty
group: edge
branches:
except:
compiler:
- gcc
install:
- sudo apt-get --yes --force-yes install cmake wget unzip libboost-dev libboost-program-options-dev libboost-timer-dev libboost-filesystem-dev libboost-system-dev automake
before_script:
- wget https://github.com/Exiv2/exiv2/archive/v0.26.zip
- unzip v0.26.zip
- cd exiv2-0.26
- mkdir build
- cd build
- cmake ../
- make -j4
- sudo make install
- cd ../..
- wget https://github.com/LibRaw/LibRaw/archive/0.19.0.zip
- unzip 0.19.0.zip
- cd LibRaw-0.19.0/
- autoreconf --install
- ./configure --disable-openmp
- make -j4
- sudo make install
- cd ../
- wget https://github.com/opencv/opencv/archive/3.4.1.zip
- unzip 3.4.1.zip
- cd opencv-3.4.1
- mkdir build
- cd build
- cmake -DBUILD_DOCS=OFF -DBUILD_TESTS=OFF -DBUILD_PERF_TESTS=OFF -DBUILD_WITH_DEBUG_INFO=OFF -DBUILD_opencv_apps=OFF -DBUILD_opencv_calib3d=OFF -DBUILD_opencv_video=OFF -DBUILD_opencv_videoio=OFF -DBUILD_opencv_java=OFF ..
- make -j4
- sudo make install
- cd ../..
- mkdir build
- cd build
- cmake -DCMAKE_BUILD_TYPE=RELEASE ../src/
- make -j4
- cd ..
script: cd tests/functional && python ./test.py