Skip to content

Commit

Permalink
use Travis-CI's new D support
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinNowak committed Dec 11, 2014
1 parent e8819f2 commit ecfc7e8
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,15 @@
language: d

install:
- DMD_VER=2.066.1
- DUB_VER=0.9.22
- 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}"
- dub fetch doveralls
#d:
# - dmd-2.065.0
# - dmd-2.066.1
# - gdc-4.9.0
# - ldc-0.14.0

install: dub fetch doveralls

script:
- dub test -b unittest-cov
- dub run doveralls
- dub test -b unittest-cov --compiler=${DC}
- dub run doveralls --compiler=${DC}

sudo: false

0 comments on commit ecfc7e8

Please sign in to comment.