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