-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
42 lines (42 loc) · 1.09 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
cache: ccache
language: c++
sudo: required
matrix:
include:
- os: osx
osx_image: xcode 8.3
compiler: clang++
addons:
homebrew:
packages:
- pkg-config
- glew
- glm
- opencv@2
- ccache
update: true
before_install:
- export PKG_CONFIG_PATH="/usr/local/opt/opencv@2/lib/pkgconfig"
- export PATH="/usr/local/opt/ccache/libexec:$PATH"
script:
- make
- os: linux
dist: trusty
compiler: g++
before_install:
- sudo apt-get update
- sudo apt-get install -y libopencv-dev libglew-dev libglfw-dev libglm-dev libxxf86vm-dev
script:
- make
- os: linux
dist: xenial
compiler: g++
before_install:
- sudo apt-get update
- sudo apt-get install -y libopencv-dev libglew-dev libglfw-dev libglm-dev libxxf86vm-dev
script:
- make
after_success:
- export CODECOV_TOKEN="ff73db72-4809-42e3-8298-2b6cdcc0e455"
- gcov *.cpp
- bash <(curl -s https://codecov.io/bash)