run travis builds on osx also

This commit is contained in:
Jim McGrath 2017-06-01 12:48:02 -05:00
parent be864ee0e7
commit bd04d82e5d
1 changed files with 7 additions and 3 deletions

View File

@ -4,7 +4,11 @@ rust:
- stable - stable
- beta - beta
- nightly - nightly
os:
- linux
- osx
script: script:
- cargo build --verbose - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then FAKETTY="script -q /dev/null"; fi
- cargo test --verbose - $FAKETTY cargo build --verbose
- cargo test --release --verbose - $FAKETTY cargo test --verbose
- $FAKETTY cargo test --release --verbose