Test multiple versions of D on Travis.

2.081 is reportedly broken and 2.086 was tested and fixed in #1594.
This commit is contained in:
William S Fulton 2020-01-07 18:59:17 +00:00
commit 666752d521
2 changed files with 14 additions and 3 deletions

View file

@ -54,7 +54,12 @@ matrix:
dist: xenial dist: xenial
- compiler: gcc - compiler: gcc
os: linux os: linux
env: SWIGLANG=d env: SWIGLANG=d VER=2.066.0
sudo: required
dist: xenial
- compiler: gcc
os: linux
env: SWIGLANG=d VER=2.086.1
sudo: required sudo: required
dist: xenial dist: xenial
- compiler: gcc - compiler: gcc
@ -458,6 +463,12 @@ matrix:
osx_image: xcode10.2 osx_image: xcode10.2
allow_failures: allow_failures:
# Newer version of D not yet working/supported
- compiler: gcc
os: linux
env: SWIGLANG=d VER=2.086.1
sudo: required
dist: xenial
# seg fault in director_basic testcase # seg fault in director_basic testcase
- compiler: gcc - compiler: gcc
os: linux os: linux

View file

@ -23,8 +23,8 @@ case "$SWIGLANG" in
travis_retry sudo apt-get -qq install mono-devel travis_retry sudo apt-get -qq install mono-devel
;; ;;
"d") "d")
travis_retry wget http://downloads.dlang.org/releases/2014/dmd_2.066.0-0_amd64.deb travis_retry wget http://downloads.dlang.org/releases/2.x/${VER}/dmd_${VER}-0_amd64.deb
travis_retry sudo dpkg -i dmd_2.066.0-0_amd64.deb travis_retry sudo dpkg -i dmd_${VER}-0_amd64.deb
;; ;;
"go") "go")
if [[ "$VER" ]]; then if [[ "$VER" ]]; then