forked from flanggut/smvs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
39 lines (34 loc) · 795 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
34
35
36
37
38
39
os: linux
language: cpp
compiler: gcc
sudo: false
branches:
only:
- master
- develop
before_install:
- if [ "$CXX" = "g++" ]; then export CXX="g++-6"; fi
- wget https://github.com/google/googletest/archive/master.zip -O /tmp/gtest.zip
- unzip /tmp/gtest.zip
- cd googletest-master
- cmake .
- make
- sudo cp -a googletest/include/gtest /usr/include
- sudo cp -a lib/libgtest_main.a lib/libgtest.a /usr/lib/
- cd "${TRAVIS_BUILD_DIR}"
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-6
- libglu1-mesa-dev
- freeglut3-dev
- mesa-common-dev
before_script:
- git clone https://github.com/simonfuhrmann/mve ../mve
script:
- make -C ../mve
- make
- make test
- ./tests/test