diff options
| author | Eugen Wissner <belka@caraus.de> | 2017-06-12 19:02:47 +0200 |
|---|---|---|
| committer | Eugen Wissner <belka@caraus.de> | 2017-06-12 19:02:47 +0200 |
| commit | 5b90286b70e4393f65e6aeda6deeb6cadfaac4ab (patch) | |
| tree | 0b2cb9afbedbbd1d5b50097900e52ed6fc0069cf /.travis.yml | |
| parent | 8443f1b3852df42579ba78aff8d134af486c0052 (diff) | |
| download | tanya-5b90286b70e4393f65e6aeda6deeb6cadfaac4ab.tar.gz | |
Add x86 to tests
Diffstat (limited to '.travis.yml')
| -rw-r--r-- | .travis.yml | 15 |
1 files 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) |
