-
Notifications
You must be signed in to change notification settings - Fork 10
/
.travis.yml
61 lines (61 loc) · 1.74 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
49
50
51
52
53
54
55
56
57
58
59
60
61
language: cpp
sudo: false
matrix:
include:
- os: linux
compiler: gcc-4.8.1
script:
- git submodule update --init --recursive
- mkdir demos/external/libdirectional/external/libigl/external/nanogui/ext/glfw/include/GL
- wget --no-check-certificate -P demos/external/libdirectional/external/libigl/external/nanogui/ext/glfw/include/GL https://www.opengl.org/registry/api/GL/glcorearb.h
- cd demos/2-sampling
- mkdir build
- cd build
- cmake -DCMAKE_CXX_COMPILER=g++-4.8 -DCMAKE_C_COMPILER=gcc-4.8 ../
- make -j 2
- cd ../../../
- cd demos/3-visualization
- mkdir build
- cd build
- cmake -DCMAKE_CXX_COMPILER=g++-4.8 -DCMAKE_C_COMPILER=gcc-4.8 ../
- make -j 2
- cd ../../../
- cd demos/4-live-coding
- mkdir build
- cd build
- cmake -DCMAKE_CXX_COMPILER=g++-4.8 -DCMAKE_C_COMPILER=gcc-4.8 ../
- make -j 2
- cd ../../../
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- george-edison55-precise-backports
packages:
- xorg-dev
- libglu1-mesa-dev
- g++-4.8
- cmake
- cmake-data
- os: osx
compiler: clang
script:
- git submodule update --init --recursive
- cd demos/2-sampling
- mkdir build
- cd build
- cmake ../
- make -j 2
- cd ../../../
- cd demos/3-visualization
- mkdir build
- cd build
- cmake ../
- make -j 2
- cd ../../../
- cd demos/4-live-coding
- mkdir build
- cd build
- cmake ../
- make -j 2
- cd ../../../