Generate coverage for x86 aswell

This commit is contained in:
Eugen Wissner 2017-06-13 10:45:15 +02:00
parent 4b0134713c
commit 508297f36f

View File

@ -1,34 +1,34 @@
sudo: false
os:
- linux
- osx
- linux
- osx
language: d
d:
- dmd-2.074.1
- dmd-2.073.2
- dmd-2.072.2
- dmd-2.071.2
- dmd-2.074.1
- dmd-2.073.2
- dmd-2.072.2
- dmd-2.071.2
env:
matrix:
- ARCH=x86_64
- ARCH=x86
matrix:
- ARCH=x86_64
- ARCH=x86
addons:
apt:
packages:
- gcc-multilib
apt:
packages:
- gcc-multilib
before_script:
- if [ "$PS1" = '(dmd-2.074.1)' -a "$ARCH" = 'x86_64' ]; then
export UNITTEST="unittest-cov";
fi
- if [ "$PS1" = '(dmd-2.074.1)' ]; then
export UNITTEST="unittest-cov";
fi
script:
- dub test -b ${UNITTEST:-unittest} --arch=$ARCH --compiler=$DC
- dub test -b ${UNITTEST:-unittest} --arch=$ARCH --compiler=$DC
after_success:
- test "$UNITTEST" = "unittest-cov" && bash <(curl -s https://codecov.io/bash)
- test "$UNITTEST" = "unittest-cov" && bash <(curl -s https://codecov.io/bash)