From 3255c5602647a60d98f2a62701458c57ea6125c0 Mon Sep 17 00:00:00 2001 From: Jeff Muizelaar Date: Fri, 20 Jul 2018 14:04:14 -0400 Subject: [PATCH] Test different features on different OSs --- .travis.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index cf316bc..6ebb4b5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,19 +2,22 @@ language: rust rust: stable matrix: include: - - os: osx - - os: osx + - os: osx # 10.12 + env: CGFEATURES="--features elcapitan" + - os: osx # 10.10 osx_image: xcode7.2 - - os: osx + env: CGFEATURES="" + - os: osx # 10.13 osx_image: xcode9.4 + env: CGFEATURES="--features highsierra,elcapitan" script: - cd core-foundation - cargo build --verbose - cargo test --verbose -- --nocapture - cd ../core-graphics - - cargo build --verbose - - cargo test --verbose -- --nocapture + - cargo build --verbose $CGFEATURES + - cargo test --verbose $CGFEATURES -- --nocapture - cd ../core-text - cargo build --verbose - cargo test --verbose -- --nocapture