From 077b217903ed62fb7a4e0f9d5fe0359616090f5e Mon Sep 17 00:00:00 2001 From: yamadapc Date: Wed, 9 Jul 2014 23:48:49 -0300 Subject: [PATCH] Add travis.yml. Based on https://github.com/MartinNowak/bloom/blob/master/.travis.yml. --- .travis.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..150bdb2 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,17 @@ +language: d +script: dub test + +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 + - 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