forked from GlPortal/glPortal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
68 lines (65 loc) · 1.83 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
sudo: required
language: cpp
matrix:
include:
- os: linux
services: docker
before_install: docker pull glportal/whale-gcc:bullet285
script:
- set -e
- docker run -it --rm -w /data -v $(pwd):/data glportal/whale-gcc:bullet285 bash -c "cmake -G Ninja ./; ninja -j 4; ninja tests;"
- os: osx
osx_image: xcode8.3
compiler: gcc
git:
submodules: false
before_install:
- brew update
install:
- brew install assimp
- brew install libepoxy
- brew install sdl2
- brew install sdl2_mixer
- brew install bullet
- brew install tinyxml2
- brew install unittest-cpp
- brew install freeimage
before_script:
- git submodule update --init --recursive
- mkdir build && cd build
- export CC=gcc CXX=g++
script:
- cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$PWD/install ..
- make -j4
- os: osx
osx_image: xcode8.3
compiler: clang
git:
submodules: false
before_install:
- brew update
install:
- brew install assimp
- brew install libepoxy
- brew install sdl2
- brew install sdl2_mixer
- brew install bullet
- brew install tinyxml2
- brew install unittest-cpp
- brew install freeimage
before_script:
- git submodule update --init --recursive
- mkdir build && cd build
script:
- set -e
- cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$PWD/install ..
- make -j4
notifications:
irc: "chat.freenode.net#glportal"
slack: glportal:6owD9V6VXhGmM7yyEd2hIZue
webhooks:
urls:
- https://webhooks.gitter.im/e/ea210c016747790b4fa4
on_success: always
on_failure: always
on_start: never