2016-12-08 14:43:50 +01:00
|
|
|
sudo: false
|
|
|
|
|
|
|
|
os:
|
2016-12-08 14:58:59 +01:00
|
|
|
- linux
|
2017-01-13 15:23:42 +01:00
|
|
|
- osx
|
2016-12-08 14:43:50 +01:00
|
|
|
|
|
|
|
language: d
|
|
|
|
|
|
|
|
d:
|
2017-06-02 22:01:13 +02:00
|
|
|
- dmd-2.074.1
|
2017-03-29 17:23:10 +02:00
|
|
|
- dmd-2.073.2
|
2017-01-01 22:01:07 +01:00
|
|
|
- dmd-2.072.2
|
2016-12-27 23:49:22 +01:00
|
|
|
- dmd-2.071.2
|
2016-12-08 14:43:50 +01:00
|
|
|
|
|
|
|
env:
|
2016-12-08 14:58:59 +01:00
|
|
|
matrix:
|
|
|
|
- ARCH=x86_64
|
2017-06-12 19:02:47 +02:00
|
|
|
- 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
|
2016-12-08 14:43:50 +01:00
|
|
|
|
|
|
|
script:
|
2017-06-12 19:02:47 +02:00
|
|
|
- dub test -b ${UNITTEST:-unittest} --arch=$ARCH --compiler=$DC
|
2017-05-11 13:11:12 +02:00
|
|
|
|
|
|
|
after_success:
|
2017-06-12 19:02:47 +02:00
|
|
|
- test "$UNITTEST" = "unittest-cov" && bash <(curl -s https://codecov.io/bash)
|