forked from Jebbs/DSFML
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
65 lines (56 loc) · 1.11 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
os:
- linux
- osx
language: d
sudo: false
addons:
apt:
packages:
- libfreetype6-dev
- libgl1-mesa-dev
- libglew-dev
- libjpeg8-dev
- libopenal-dev
- libpthread-stubs0-dev
- libsndfile1-dev
- libx11-dev
- libx11-xcb-dev
- libxrandr-dev
- libxcb-image0-dev
- libxcb-randr0-dev
- libudev-dev
- libvorbis-dev
- libflac-dev
d:
- dmd-2.069.2
- dmd-2.068.2
- dmd-2.067.1
- dmd-2.066.1
- gdc-5.2.0
- gdc-4.9.3
- gdc-4.8.2
- ldc-0.16.1
- ldc-0.16.0
- ldc-0.15.1
#GDC is not supported on OS X :(
matrix:
exclude:
- os: osx
d: gdc-5.2.0
- os: osx
d: gdc-4.9.3
- os: osx
d: gdc-4.8.2
#Build and install DSFMLC
install:
- cd $HOME
- git clone --depth=1 --branch 2.3-stringpassthrough https://github.com/aubade/DSFMLC.git
- cd DSFMLC
- cmake .
- make -j2
- export LIBRARY_PATH=${HOME}/DSFMLC/lib
- export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:${HOME}/DSFMLC/lib
- cd $TRAVIS_BUILD_DIR
script:
- ${DMD} build.d
- ./build -unittest