forked from libigl/libigl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
62 lines (62 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
62
language: cpp
sudo: false
matrix:
include:
- os: linux
compiler: gcc-4.8.1
script:
- git submodule update --init --recursive
- mkdir external/nanogui/ext/glfw/include/GL
- wget -P external/nanogui/ext/glfw/include/GL http://www.opengl.org/registry/api/GL/glcorearb.h
- cd python
- mkdir build
- cd build
- cmake -DCMAKE_CXX_COMPILER=g++-4.8 -DCMAKE_C_COMPILER=gcc-4.8 -DLIBIGL_WITH_EMBREE=OFF -DLIBIGL_USE_STATIC_LIBRARY=ON ../
- make -j 2
- cd ../../
- cd tutorial
- mkdir build
- cd build
- cmake -DLIBIGL_USE_STATIC_LIBRARY=ON -DCMAKE_CXX_COMPILER=g++-4.8 -DCMAKE_C_COMPILER=gcc-4.8 ../
- make -j 2
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- george-edison55-precise-backports
packages:
- xorg-dev
- libglu1-mesa-dev
- g++-4.8
- cmake
- cmake-data
- libblas-dev
- liblapack-dev
# - binutils
# - libx11-dev
# - mesa-common-dev
# - libgl1-mesa-dev
# - libglu1-mesa-dev
# - libxrandr-dev
# - libxi-dev
# - libxmu-dev
# - libblas-dev
# - xorg-dev
- os: osx
compiler: clang
script:
# - brew update
# - brew upgrade cmake
# - brew upgrade cgal
- git submodule update --init --recursive
- cd python
- mkdir build
- cd build
- cmake ../
- make -j 2
- cd ../../
- cd tutorial
- mkdir build
- cd build
- cmake -DLIBIGL_USE_STATIC_LIBRARY=ON ../
- make -j 2