From 5b90286b70e4393f65e6aeda6deeb6cadfaac4ab Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Mon, 12 Jun 2017 19:02:47 +0200 Subject: [PATCH] Add x86 to tests --- .travis.yml | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 363879d..68ac70e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,9 +15,20 @@ d: env: matrix: - ARCH=x86_64 + - ARCH=x86 + +addons: + apt: + packages: + - gcc-multilib + +before_script: + - if [ "$PS1" = '(dmd-2.074.1)' -a "$ARCH" = 'x86_64' ]; then + export UNITTEST="unittest-cov"; + fi script: - - dub test -b unittest-cov --arch=$ARCH + - dub test -b ${UNITTEST:-unittest} --arch=$ARCH --compiler=$DC after_success: - - bash <(curl -s https://codecov.io/bash) + - test "$UNITTEST" = "unittest-cov" && bash <(curl -s https://codecov.io/bash)