forked from libigl/libigl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
67 lines (67 loc) · 2.13 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
63
64
65
66
67
language: cpp
sudo: false
dist: precise
matrix:
include:
- os: linux
compiler: gcc-4.8.1
script:
- git submodule update --init --recursive
- mkdir external/nanogui/ext/glfw/include/GL
- wget --no-check-certificate -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 ../tutorial
- python3 101_FileIO.py || { cd ../; mkdir build2; cd build2; cmake -DCMAKE_CXX_COMPILER=g++-4.8 -DCMAKE_C_COMPILER=gcc-4.8 -DLIBIGL_WITH_EMBREE=OFF -DLIBIGL_USE_STATIC_LIBRARY=ON - DCHECK_UNDEFINED=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 -DLIBIGL_WITH_EMBREE=OFF ../
- 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 ../tutorial
- python 101_FileIO.py
- cd ../../
- cd tutorial
- mkdir build
- cd build
- cmake -DLIBIGL_USE_STATIC_LIBRARY=ON -DLIBIGL_WITH_NANOGUI=ON ../
- make -j 2