From 741017274d03ffdcb0e5be9af686c30abe034c30 Mon Sep 17 00:00:00 2001 From: John Colvin Date: Thu, 20 Aug 2015 13:27:28 +0100 Subject: [PATCH] Update .travis.yml --- .travis.yml | 51 ++++++++++++++++++++++++++++----------------------- 1 file changed, 28 insertions(+), 23 deletions(-) diff --git a/.travis.yml b/.travis.yml index 91c99ef..2fe6e99 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,29 @@ +sudo: false + language: d -#compiler: -# - dmd +os: + - linux + - osx + +d: + - dmd-2.068.0 + - dmd-2.067.1 + - dmd-2.066.1 + - ldc-0.15.1 + - gdc + +matrix: + allow_failures: + - os: osx + d: gdc + - env: ARCH=x86 + d: gdc + +addons: + apt: + packages: + - gcc-multilib notifications: email: false @@ -9,29 +31,12 @@ notifications: env: global: - secure: "wnthDxOwv7qaVfJQfwYQLFo4DDBgfT4HoLntBsfmYjwmSVzCuXPktCK3vOpimb5twyiVNkt1I/82x8lyYpiczKqPcNZqd8p91mInt5eKIf8Gacqb3a1FwGyk9bwHSZdYpQiblY/wMVb0+WJTuhlVf1NI5xXMWCf1l88+1q6E6jo=" - -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 - #- sudo apt-get install liblua5.1-0-dev - - 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 - # 32-bit deps - - sudo apt-get install gcc-multilib + matrix: + - ARCH=x86 + - ARCH=x86_64 script: - - dub test - - dub test --arch=x86 + - dub test --arch=$ARCH after_success: - ./push-ddoc.sh -