forked from kcat/alure
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
43 lines (39 loc) · 798 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
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.9
- libopenal-dev
- libvorbis-dev
- libopusfile-dev
- libsndfile1-dev
- libphysfs-dev
- libdumb1-dev
homebrew:
packages:
- openal-soft
- libvorbis
- opusfile
- libsndfile
- physfs
- dumb
update: true
git:
depth: 1
jobs:
include:
- os: osx
script:
- cd build
- OPENALDIR=`brew --prefix openal-soft` cmake -DCMAKE_FIND_FRAMEWORK=NEVER ..
- cmake --build . --parallel `sysctl -n hw.ncpu`
- os: osx
env: NPROC=`sysctl -n hw.ncpu`
- os: linux
env: CC=gcc-4.9 CXX=g++-4.9 NPROC=`nproc`
script:
- cd build
- cmake ..
- cmake --build . --parallel $NPROC