-
Notifications
You must be signed in to change notification settings - Fork 23
/
.travis.yml
72 lines (65 loc) · 1.18 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
69
70
71
72
os:
- linux
- osx
language: d
dist: trusty
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.075.0
- dmd-2.074.1
- dmd-2.073.2
- dmd-2.072.2
- dmd-2.071.2
- dmd-2.070.2
- dmd-2.069.2
- dmd-2.068.2
# - gdc-6.3.0
# - gdc-5.4.0
- gdc-4.9.4
- gdc-4.8.5
- ldc-1.3.0
- ldc-1.2.0
- ldc-1.1.1
matrix:
exclude:
# - os: osx
# d: gdc-6.3.0
# - os: osx
# d: gdc-5.4.0
- os: osx
d: gdc-4.9.4
- os: osx
d: gdc-4.8.5
#Download SFML binaries
install:
- mkdir SFML/lib
- cd SFML/lib
- curl dsfml.com/bins/ci/${TRAVIS_OS_NAME}/sfml.tar.gz -o sfml.tar.gz
- tar xf sfml.tar.gz
- export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:${TRAVIS_BUILD_DIR}/SFML/lib
- cd $TRAVIS_BUILD_DIR
script:
- echo ${DMD} build.d
- ${DMD} build.d
# build static libraries
- ./build
#build unit tests
- ./build --unittest