forked from smartsenselab/ssiglib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
33 lines (25 loc) · 952 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
33
sudo: required
dist: trusty
language: cpp
env:
global:
- secure: "H1ZVbraqi9LAmdGM9O9VhFHJP6Uk1Ux2iZSQqmSUi+Ph4muk8vsr7Grqu6yPJOI71aSs73ugTxW3S6nYVzgB+nCqEHZk5RnjyDHDfvDAg0h+OsBP4u0dQ6IZMfFRhw6R8B+VpUKD4j687MLs3eUFMsRJ8/t+24+/T097dKYWij4="
matrix:
include:
- compiler: gcc
env: TASK="lint"
- compiler: gcc
env: TASK="test-gcc"
before_install:
- sudo apt-get update -qq
install:
- sudo apt-get install python
- sudo pip install cpplint
- sudo apt-get -y install build-essential cmake git libgtk2.0-dev pkg-config python-dev python-numpy
- sudo apt-get -y install libgtk2.0-dev pkg-config libavcodec-dev libavformat-dev libswscale-dev libtbb2
- sudo apt-get -y install libtbb-dev libjpeg-dev libpng-dev libtiff-dev libjasper-dev libdc1394-22-dev
- sudo apt-get -y install unzip
script:
- bash .travis.sh
after_success:
- if [ "$TASK" == "test-gcc" ]; then bash <(curl -s https://codecov.io/bash); fi;