-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.travis.yml
More file actions
38 lines (32 loc) · 1.04 KB
/
.travis.yml
File metadata and controls
38 lines (32 loc) · 1.04 KB
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
dist: trusty
sudo: required
language: cpp
install:
- sudo add-apt-repository -y ppa:george-edison55/cmake-3.x
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo apt-get update
- sudo apt-get -y install g++-7
- sudo ln -f -s /usr/bin/g++-7 /usr/bin/g++
- sudo apt-get -y install cmake
- sudo apt-get -y install liblua5.1-0-dev
- sudo apt-get -y install libeigen3-dev
- sudo apt-get -y install libglm-dev
- sudo apt-get -y install libgl1-mesa-dev
- git clone https://github.com/planeworld/libnoise2d.git
- mkdir buildlibnoise
- cd buildlibnoise
- cmake -DCMAKE_BUILD_TYPE=Release ../libnoise2d
- make -j8
- sudo make -j8 install
- cd ..
- wget https://www.sfml-dev.org/files/SFML-2.4.2-linux-gcc-64-bit.tar.gz
- tar xf SFML-2.4.2-linux-gcc-64-bit.tar.gz
- sudo mv SFML-2.4.2/lib/libsfml-* /usr/lib/
- sudo mv SFML-2.4.2/include/SFML /usr/include/
- sudo chmod -R go+rx /usr/include/SFML
script:
- mkdir build
- cd build
- cmake -DCMAKE_BUILD_TYPE=Release ../
- make -j8
- sudo make -j8 install