forked from RigsOfRods/rigs-of-rods
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
43 lines (38 loc) · 1.03 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
dist: xenial
sudo: required
language: c
cache:
directories:
- $HOME/.conan/
addons:
apt:
packages:
- p7zip-full
- pkg-config
- ninja-build
- nvidia-cg-toolkit
- libfreetype6-dev
- libfreeimage-dev
- libzzip-dev
- libois-dev
- libgl1-mesa-dev
- libglu1-mesa-dev
- libx11-dev
- libxt-dev
- libxaw7-dev
- libxrandr-dev
- libgtk2.0-dev
- libwxgtk3.0-dev
install:
- sudo rm -rf /usr/local/cmake-3.9.2/
- sudo rm -f /usr/local/cmake
- sudo pip install cmake conan --ignore-installed
- conan user
- conan remote add ror-dependencies https://api.bintray.com/conan/anotherfoxguy/ror-dependencies || true
- conan remote add bincrafters-public-conan https://api.bintray.com/conan/bincrafters/public-conan || true
- conan install --build=missing -u -s compiler.libcxx=libstdc++11 .
script:
- cmake -GNinja -DCMAKE_BUILD_TYPE=Release -DBUILD_REDIST_FOLDER=ON .
- ninja
after_success:
- if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then sh ./tools/CI/upload-CI-build.sh; fi