From 5808916bdf14f9ff9e5f5c2cd7a24bf8acb13328 Mon Sep 17 00:00:00 2001 From: Mike Bierlee Date: Sat, 14 Jun 2014 15:32:23 +0200 Subject: [PATCH] Add travis-ci configuration --- .travis.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..8767b88 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,22 @@ +language: d + +#compiler: +# - dmd + +install: + # dmd + # dub + - DMD_VER=2.065.0 + - DMD=dmd_${DMD_VER}-0_amd64.deb + - DUB_VER=0.9.21 + - 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 || true + - sudo apt-get -fy install || true + - sudo dpkg -i ${DMD} + - wget http://code.dlang.org/files/${DUB}.tar.gz + - sudo tar -C /usr/local/bin -zxf ${DUB}.tar.gz + +script: + - dub test --config=unittest