-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
42 lines (38 loc) · 953 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
# Use new trusty images, should yield newer compilers and packages
# Copied from https://github.com/genbattle/dkm/blob/9c893efb556516f4b121a6201b66e000f838dd59/.travis.yml
# Then modified as required
sudo: required
dist: trusty
language: cpp
matrix:
include:
- compiler: gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-5
env:
- CC_COMPILER=gcc-5
- CXX_COMPILER=g++-5
- compiler: clang
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-precise-3.7
packages:
- clang-3.7
env:
- CC_COMPILER=clang-3.7
- CXX_COMPILER=clang++-3.7
install:
- build/install.sh
- source ~/dlang/dmd-2.082.1/activate
script:
- make CC=$CC_COMPILER CXX=$CXX_COMPILER
- dub fetch reggae
- dub run reggae -- -b make
- make example_d
- ./test.sh d