mirror of
https://git.mirrors.martin98.com/https://github.com/google/draco
synced 2025-08-13 06:19:02 +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
|
dist: xenial
|
||||||
compiler: gcc
|
compiler: gcc
|
||||||
- os: osx
|
- os: osx
|
||||||
osx_image: xcode8.3
|
|
||||||
compiler: clang
|
compiler: clang
|
||||||
|
|
||||||
addons:
|
addons:
|
||||||
apt:
|
apt:
|
||||||
packages:
|
packages:
|
||||||
- ccache
|
|
||||||
- cmake
|
- cmake
|
||||||
|
|
||||||
before_install:
|
|
||||||
- if [[ "${TRAVIS_OS_NAME}" == "osx" ]]; then brew update; fi
|
|
||||||
- if [[ "${TRAVIS_OS_NAME}" == "osx" ]]; then brew install ccache; fi
|
|
||||||
|
|
||||||
script:
|
script:
|
||||||
# Output version info for compilers, cmake, and make
|
# Output version info for compilers, cmake, and make
|
||||||
- ${CC} -v
|
- ${CC} -v
|
||||||
@ -32,6 +26,6 @@ script:
|
|||||||
- pushd .. && git clone https://github.com/google/googletest.git && popd
|
- pushd .. && git clone https://github.com/google/googletest.git && popd
|
||||||
# Configure and build
|
# Configure and build
|
||||||
- mkdir _travis_build && cd _travis_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
|
- make -j10
|
||||||
- ./draco_tests
|
- ./draco_tests
|
||||||
|
Loading…
x
Reference in New Issue
Block a user