mirror of
https://git.mirrors.martin98.com/https://github.com/google/draco
synced 2025-08-12 02:29:00 +08:00
draco: Update Travis config.
- Use default Xcode on osx images. - Drop ccache usage.
This commit is contained in:
parent
dd5aaf0ae4
commit
5470f31736
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user