2016-12-08 14:43:50 +01:00
|
|
|
sudo: false
|
|
|
|
|
|
|
|
os:
|
2017-06-13 10:45:15 +02:00
|
|
|
- linux
|
|
|
|
- osx
|
2016-12-08 14:43:50 +01:00
|
|
|
|
|
|
|
language: d
|
|
|
|
|
|
|
|
d:
|
2017-11-04 00:35:47 +01:00
|
|
|
- dmd-2.077.0
|
2017-10-10 07:03:04 +02:00
|
|
|
- dmd-2.076.1
|
2017-08-15 01:18:21 +02:00
|
|
|
- dmd-2.075.1
|
2016-12-08 14:43:50 +01:00
|
|
|
|
|
|
|
env:
|
2017-06-13 10:45:15 +02:00
|
|
|
matrix:
|
|
|
|
- ARCH=x86_64
|
|
|
|
- ARCH=x86
|
2017-06-12 19:02:47 +02:00
|
|
|
|
|
|
|
addons:
|
2017-06-13 10:45:15 +02:00
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- gcc-multilib
|
2017-06-12 19:02:47 +02:00
|
|
|
|
|
|
|
before_script:
|
2017-11-04 00:35:47 +01:00
|
|
|
- if [ "$PS1" = '(dmd-2.077.0)' ]; then
|
2017-06-13 10:45:15 +02:00
|
|
|
export UNITTEST="unittest-cov";
|
|
|
|
fi
|
2016-12-08 14:43:50 +01:00
|
|
|
|
|
|
|
script:
|
2017-06-13 10:45:15 +02:00
|
|
|
- dub test -b ${UNITTEST:-unittest} --arch=$ARCH --compiler=$DC
|
2017-05-11 13:11:12 +02:00
|
|
|
|
|
|
|
after_success:
|
2017-06-13 10:45:15 +02:00
|
|
|
- test "$UNITTEST" = "unittest-cov" && bash <(curl -s https://codecov.io/bash)
|