Skip to content

Commit

Permalink
download zip binaries for Travis-CI test
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinNowak committed Nov 20, 2014
1 parent 7dfa845 commit f47ed6b
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,13 @@
language: d

install:
# dmd
# dub
- DMD_VER=2.066.1
- DMD=dmd_${DMD_VER}-0_amd64.deb
- DUB_VER=0.9.22
- DUB=dub-${DUB_VER}-linux-x86_64
- wget http://downloads.dlang.org/releases/2014/${DMD}
- sudo dpkg -i ${DMD} || true
- sudo apt-get -y update
- sudo apt-get -fy install
- sudo dpkg -i ${DMD}
- wget http://code.dlang.org/files/${DUB}.tar.gz
- sudo tar -C /usr/local/bin -zxf ${DUB}.tar.gz
- curl -fsSL http://downloads.dlang.org/releases/2014/dmd.${DMD_VER}.linux.zip > dmd.zip
- unzip -q -d ~ dmd.zip
- curl -fsSL http://code.dlang.org/files/dub-${DUB_VER}-linux-x86_64.tar.gz | tar -C ~/dmd2/linux/bin64 -xzf -
- export PATH="${HOME}/dmd2/linux/bin64:${PATH}"
- export LD_LIBRARY_PATH="${HOME}/dmd2/linux/lib64:${LD_LIBRARY_PATH}"

script:
- dub test

0 comments on commit f47ed6b

Please sign in to comment.