-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
55 lines (49 loc) · 1.12 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
# travis-ci.org supports D, using dub with various compilers
# For available compilers see: https://semitwist.com/travis-d-compilers
language: d
d:
- ldc
- dmd
- dmd-2.094.2
- dmd-2.093.1
- dmd-2.092.1
- dmd-2.091.1
- ldc-1.24.0 # eq to dmd v2.094.1
- ldc-1.23.0 # eq to dmd v2.093.1
- ldc-1.22.0 # eq to dmd v2.092.1
- ldc-1.21.0 # eq to dmd v2.091.1
install:
- npm install -g bower
script:
- dub test --compiler=${DC}
addons:
apt:
update: true
sources:
- ubuntu-toolchain-r-test
packages: [ libev-dev, libevent-dev, libsqlite3-dev ]
homebrew:
brewfile: true
cache:
yarn: true
directories:
- node_modules
matrix:
include:
- env: NAME="Test Coverage - coveralls.io"
d: dmd
os: osx
osx_image: xcode12.2 # use OSX 10.15.7
before_script: dub fetch doveralls && dub test -b unittest-cov --compiler=${DC}
script: dub run doveralls
- d: dmd
os: osx
osx_image: xcode12.2 # use OSX 10.15.7
- d: ldc
os: osx
osx_image: xcode12.2 # use OSX 10.15.7
- d: dmd-beta
- d: gdc
allow_failures:
- d: dmd-beta
- d: gdc