diff --git a/.travis.yml b/.travis.yml index 79fad470..2133d17a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -45,7 +45,7 @@ matrix: compiler: clang addons: apt: - sources: ['ubuntu-toolchain-r-test', 'llvm-toolchain-precise'] + sources: ['ubuntu-toolchain-r-test', 'llvm-toolchain-precise-3.6'] packages: ['clang-3.6', 'valgrind'] env: COMPILER=clang++-3.6 @@ -53,7 +53,7 @@ matrix: compiler: clang addons: apt: - sources: ['ubuntu-toolchain-r-test', 'llvm-toolchain-precise'] + sources: ['ubuntu-toolchain-r-test', 'llvm-toolchain-precise-3.7'] packages: ['clang-3.7', 'valgrind'] env: COMPILER=clang++-3.7 @@ -61,7 +61,7 @@ matrix: compiler: clang addons: apt: - sources: ['ubuntu-toolchain-r-test', 'llvm-toolchain-precise'] + sources: ['ubuntu-toolchain-r-test', 'llvm-toolchain-precise-3.8'] packages: ['clang-3.8', 'valgrind'] env: COMPILER=clang++-3.8 @@ -73,6 +73,26 @@ matrix: packages: ['clang-3.9', 'valgrind'] env: COMPILER=clang++-3.9 + - os: osx + osx_image: beta-xcode6.1 + compiler: clang + env: COMPILER=clang + + - os: osx + osx_image: beta-xcode6.2 + compiler: clang + env: COMPILER=clang + + - os: osx + osx_image: beta-xcode6.3 + compiler: clang + env: COMPILER=clang + + - os: osx + osx_image: xcode6.4 + compiler: clang + env: COMPILER=clang + - os: osx osx_image: xcode7.1 compiler: clang @@ -91,6 +111,6 @@ matrix: script: - make CXX=$COMPILER CXXFLAGS="-lstdc++" - ./json_unit "*" - - if [ "${os}" = "linux" ]; then + - if [ "${TRAVIS_OS_NAME}" = "linux" ]; then valgrind --error-exitcode=1 --leak-check=full ./json_unit ; fi