draco: Update Travis config.

- Use default Xcode on osx images.
- Drop ccache usage.
This commit is contained in:
Tom Finegan 2019-09-06 11:26:32 -07:00 committed by GitHub
parent dd5aaf0ae4
commit 5470f31736
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,19 +9,13 @@ matrix:
dist: xenial
compiler: gcc
- os: osx
osx_image: xcode8.3
compiler: clang
addons:
apt:
packages:
- ccache
- cmake
before_install:
- if [[ "${TRAVIS_OS_NAME}" == "osx" ]]; then brew update; fi
- if [[ "${TRAVIS_OS_NAME}" == "osx" ]]; then brew install ccache; fi
script:
# Output version info for compilers, cmake, and make
- ${CC} -v
@ -32,6 +26,6 @@ script:
- pushd .. && git clone https://github.com/google/googletest.git && popd
# Configure and build
- mkdir _travis_build && cd _travis_build
- cmake -G "Unix Makefiles" -DENABLE_TESTS=ON -DENABLE_CCACHE=ON ..
- cmake -G "Unix Makefiles" -DENABLE_TESTS=ON ..
- make -j10
- ./draco_tests