commit 116d49965b5bb4fe38b853559c5976c0f1e7dd2f
parent ad36864930813a19a3ddb1f67430ade167372722
Author: [email protected] <[email protected]>
Date: Sat, 30 Jul 2016 19:57:45 +0300
Travis CI: Test in Xcode 7, 7.1, 7.2, 7.3, 8
Diffstat:
1 file changed, 19 insertions(+), 4 deletions(-)
diff --git a/.travis.yml b/.travis.yml
@@ -1,10 +1,11 @@
-sudo: required
-dist: precise
language: cpp
matrix:
include:
- - compiler: clang
+ - os: linux
+ compiler: clang
+ sudo: required
+ dist: precise
addons:
apt:
sources:
@@ -18,9 +19,23 @@ matrix:
- clang-3.8
env:
- CXXCOMPILER=clang++-3.8 CCOMPILER=clang-3.8
+ - os: osx
+ osx_image: xcode8
+ - os: osx
+ osx_image: xcode7.3
+ - os: osx
+ osx_image: xcode7.2
+ - os: osx
+ osx_image: xcode7.1
+ - os: osx
+ osx_image: xcode7
before_install:
- - sudo apt-get update -qq
+ - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get update -qq ; fi
+ - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi
+ - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew reinstall cmake ; fi
+ - cmake --version
+
script:
- mkdir build
- cd build