Use correct version of DMD and DUB in travis config

This commit is contained in:
Mike Bierlee 2014-10-05 14:17:15 +02:00
parent d7bbcd5646
commit fbb4d866a4

View file

@ -1,22 +1,22 @@
language: d language: d
#compiler: #compiler:
# - dmd # - dmd
install: install:
# dmd # dmd
# dub # dub
- DMD_VER=2.065.0 - DMD_VER=2.066.0
- DMD=dmd_${DMD_VER}-0_amd64.deb - DMD=dmd_${DMD_VER}-0_amd64.deb
- DUB_VER=0.9.21 - DUB_VER=0.9.22
- DUB=dub-${DUB_VER}-linux-x86_64 - DUB=dub-${DUB_VER}-linux-x86_64
- wget http://downloads.dlang.org/releases/2014/${DMD} - wget http://downloads.dlang.org/releases/2014/${DMD}
- sudo dpkg -i ${DMD} || true - sudo dpkg -i ${DMD} || true
- sudo apt-get -y update || true - sudo apt-get -y update || true
- sudo apt-get -fy install || true - sudo apt-get -fy install || true
- sudo dpkg -i ${DMD} - sudo dpkg -i ${DMD}
- wget http://code.dlang.org/files/${DUB}.tar.gz - wget http://code.dlang.org/files/${DUB}.tar.gz
- sudo tar -C /usr/local/bin -zxf ${DUB}.tar.gz - sudo tar -C /usr/local/bin -zxf ${DUB}.tar.gz
script: script:
- dub test --config=unittest - dub test --config=unittest