forked from MEPP-team/MEPP
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis_old.yml
28 lines (24 loc) · 852 Bytes
/
.travis_old.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
language: cpp
compiler:
- gcc
- clang
env:
- BTYPE="-DCMAKE_BUILD_TYPE=Debug"
- BTYPE="-DCMAKE_BUILD_TYPE=Release"
before_script:
- sudo apt-get update
- sudo apt-get -qq install libboost-program-options-dev libboost-system-dev libgmp-dev libcgal-dev libqglviewer-qt4-dev libglew-dev libxerces-c-dev > apt_install
- wget http://sourceforge.net/projects/assimp/files/assimp-3.0/assimp--3.0.1270-source-only.zip
- unzip assimp--3.0.1270-source-only.zip
- cd assimp--3.0.1270-source-only
- mkdir build_release
- cd build_release
- cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_COMPILER=g++ -DCMAKE_C_COMPILER=gcc -DCMAKE_RULE_MESSAGES=OFF > cmake_output_release
- make > make_release 2> make_release_err
- sudo make install > make_install_release
- cd ..
- cd ..
script:
- cmake . $BTYPE
- cmake . $BTYPE
- make