taggedalgebraic/.travis.yml
2020-03-26 11:07:03 +01:00

41 lines
890 B
YAML

language: d
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
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
matrix:
include:
# Last FE GDC is compatible with
- d: dmd-2.076.1
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
script: ./travis.sh