Skip to content

Commit 666752d

Browse files
committed
Test multiple versions of D on Travis.
2.081 is reportedly broken and 2.086 was tested and fixed in swig#1594.
1 parent 37997e2 commit 666752d

File tree

2 files changed

+14
-3
lines changed

2 files changed

+14
-3
lines changed

.travis.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,12 @@ matrix:
5454
dist: xenial
5555
- compiler: gcc
5656
os: linux
57-
env: SWIGLANG=d
57+
env: SWIGLANG=d VER=2.066.0
58+
sudo: required
59+
dist: xenial
60+
- compiler: gcc
61+
os: linux
62+
env: SWIGLANG=d VER=2.086.1
5863
sudo: required
5964
dist: xenial
6065
- compiler: gcc
@@ -458,6 +463,12 @@ matrix:
458463
osx_image: xcode10.2
459464

460465
allow_failures:
466+
# Newer version of D not yet working/supported
467+
- compiler: gcc
468+
os: linux
469+
env: SWIGLANG=d VER=2.086.1
470+
sudo: required
471+
dist: xenial
461472
# seg fault in director_basic testcase
462473
- compiler: gcc
463474
os: linux

Tools/travis-linux-install.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ case "$SWIGLANG" in
2323
travis_retry sudo apt-get -qq install mono-devel
2424
;;
2525
"d")
26-
travis_retry wget http://downloads.dlang.org/releases/2014/dmd_2.066.0-0_amd64.deb
27-
travis_retry sudo dpkg -i dmd_2.066.0-0_amd64.deb
26+
travis_retry wget http://downloads.dlang.org/releases/2.x/${VER}/dmd_${VER}-0_amd64.deb
27+
travis_retry sudo dpkg -i dmd_${VER}-0_amd64.deb
2828
;;
2929
"go")
3030
if [[ "$VER" ]]; then

0 commit comments

Comments
 (0)