forked from itseez-academy/itseez-ws-2016-practice
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
32 lines (32 loc) · 768 Bytes
/
.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
sudo: false
notifications:
email: false
language: cpp
compiler:
- gcc
- clang
addons:
apt:
packages:
- libopencv-dev
- xvfb
before_script:
# For headless testing
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- sleep 3 # give xvfb some time to start
script:
# Run CMake in order to generate makefile
- mkdir ../build
- cd ../build
- cmake ../itseez-ws-2016-practice
# Build
- make
# Run regression tests
- ./bin/test_skeleton
# Run performance tests
- ./bin/perf_skeleton --gtest_output=xml:perf_report.xml
# Print performance metrics
- ../itseez-ws-2016-practice/3rdparty/opencv_ptest/misc/summary.py ./perf_report.xml
# Run sample application
- ./bin/skeleton --image ./bin/testdata/page.png --save