forked from Iunusov/ShoutVST
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
43 lines (36 loc) · 846 Bytes
/
.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
language: cpp
notifications:
email: false
sudo: required
os:
- linux
#- osx
branches:
only:
- master
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-4.8
- g++-4.8
before_install:
- if [[ $TRAVIS_OS_NAME == linux ]]; then LINUX=true; fi
- if [[ $TRAVIS_OS_NAME == osx ]]; then OSX=true; fi
- if [[ $OSX ]]; then brew update; fi
install:
- sudo apt-get -qq update
- sudo apt-get install libx11-dev
- wget https://www.cmake.org/files/v3.6/cmake-3.6.1-Linux-x86_64.sh
- sudo sh cmake-3.6.1-Linux-x86_64.sh --skip-license --prefix=/usr
- if [[ $LINUX && "$CXX" = "g++" ]]; then export CXX="g++-4.8" CC="gcc-4.8"; fi
- cd deps
- ./sync.sh
- cd ..
script:
- mkdir build
- cd build
- cmake ..
- make -j3 -k
- make