2016-01-27 22:02:37 +00:00
|
|
|
language: d
|
|
|
|
|
2020-01-13 07:33:25 +00:00
|
|
|
os:
|
|
|
|
- linux
|
|
|
|
- osx
|
|
|
|
|
|
|
|
# Order: oldest DMD, newest LDC, oldest LDC
|
|
|
|
# Latest DMD is in the matrix.include to give it the `COVERAGE` env variable
|
|
|
|
d:
|
|
|
|
- dmd-2.085.1
|
|
|
|
- ldc-1.19.0
|
|
|
|
- ldc-1.15.0
|
|
|
|
- dmd-nightly
|
|
|
|
- ldc-latest-ci
|
|
|
|
|
2020-03-26 06:44:08 +00:00
|
|
|
before_install:
|
|
|
|
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo apt-get update && sudo apt-get -y install ninja-build python3-pip python3-setuptools; fi
|
|
|
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update && brew install ninja; fi
|
|
|
|
- pip3 install meson
|
|
|
|
|
2016-01-29 10:43:39 +00:00
|
|
|
matrix:
|
|
|
|
include:
|
2020-01-13 07:33:25 +00:00
|
|
|
# Last FE GDC is compatible with
|
2019-02-22 00:12:19 +00:00
|
|
|
- d: dmd-2.076.1
|
2020-01-13 07:33:25 +00:00
|
|
|
os: linux
|
|
|
|
script: dub build
|
|
|
|
- d: dmd-2.076.1
|
|
|
|
os: osx
|
|
|
|
script: dub build
|
|
|
|
- d: dmd-2.090.0
|
|
|
|
os: linux
|
|
|
|
env: [COVERAGE=true]
|
|
|
|
- d: dmd-2.090.0
|
|
|
|
os: osx
|
|
|
|
env: [COVERAGE=true]
|
|
|
|
allow_failures:
|
|
|
|
- d: dmd-nightly
|
|
|
|
- d: ldc-latest-ci
|
2016-01-29 10:36:05 +00:00
|
|
|
|
|
|
|
script: ./travis.sh
|