forked from HippoBaro/R-Type
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
46 lines (41 loc) · 1.08 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
matrix:
include:
- os: linux
dist: trusty
sudo: required
compiler: gcc
addons:
apt:
sources:
# add PPAs with more up-to-date toolchains
- ubuntu-toolchain-r-test
packages:
# install toolchains
- gcc-5
- g++-5
- libpthread-stubs0-dev
- libgl1-mesa-dev
- libx11-dev
- libxrandr-dev
- libfreetype6-dev
- libglew1.5-dev
- libjpeg8-dev
- libsndfile1-dev
- libopenal-dev
- libudev-dev
- os: osx
osx_image: xcode8.2
# Enable C++ support
language: cpp
before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install cmake ; fi
install:
- if [[ "$TRAVIS_OS_NAME" != "osx" ]]; then export CXX="g++-5" CC="gcc-5"; fi
script:
- mkdir build
- cd build
- cmake .. && make
- if [[ "$TRAVIS_OS_NAME" != "osx" ]]; then ctest --verbose ; fi
notifications:
slack: r-type2016:mLsIqykIanE3Yt8cHcLetGuv