Travis: Add minimal build job for macOS
@@ -6,6 +6,12 @@ language: cpp
matrix:
include:
+ - os: osx
+ osx_image: xcode8.3
+ compiler: clang
+ env:
+ - FAST=ON
+
- os: osx
osx_image: xcode8.3
compiler: clang
@@ -40,8 +46,9 @@ matrix:
compiler: clang
before_install:
+ - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install ninja; fi
- |
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
+ if [[ "$TRAVIS_OS_NAME" == "osx" && "$FAST" != "ON" ]]; then
rvm install 2.3.1;
rvm use 2.3.1;
gem install test-unit --no-document;
@@ -54,7 +61,6 @@ before_install:
# Linking `crypto_botan` using `gcc` fails on macOS
brew install botan;
fi;
- brew install ninja;
brew install checkbashisms;
brew install swig;
brew install gobject-introspection;
@@ -127,7 +133,7 @@ script:
- ninja
- ninja run_all
- |
- if [[ $ASAN != ON ]]; then
+ if [[ $ASAN != ON || $FAST != 0N ]]; then
ninja install
ninja test
kdb run_all
