mirror of
https://git.mirrors.martin98.com/https://github.com/google/draco
synced 2025-08-11 14:49:01 +08:00
TravisCI: Use newer linux images.
This commit is contained in:
parent
785c9c4aa2
commit
302d512790
17
.travis.yml
17
.travis.yml
@ -3,27 +3,17 @@ language: cpp
|
||||
matrix:
|
||||
include:
|
||||
- os: linux
|
||||
dist: trusty
|
||||
dist: xenial
|
||||
compiler: clang
|
||||
- os: linux
|
||||
dist: trusty
|
||||
dist: xenial
|
||||
compiler: gcc
|
||||
addons:
|
||||
apt:
|
||||
sources:
|
||||
- ubuntu-toolchain-r-test
|
||||
packages:
|
||||
- g++-4.9
|
||||
env:
|
||||
- MATRIX_EVAL="CC=gcc-4.9 && CXX=g++-4.9"
|
||||
- os: osx
|
||||
osx_image: xcode8.3
|
||||
compiler: clang
|
||||
|
||||
addons:
|
||||
apt:
|
||||
sources:
|
||||
- ubuntu-toolchain-r-test
|
||||
packages:
|
||||
- ccache
|
||||
- cmake
|
||||
@ -31,9 +21,6 @@ addons:
|
||||
before_install:
|
||||
- if [[ "${TRAVIS_OS_NAME}" == "osx" ]]; then brew update; fi
|
||||
- if [[ "${TRAVIS_OS_NAME}" == "osx" ]]; then brew install ccache; fi
|
||||
- if [[ "${TRAVIS_OS_NAME}" == "linux" ]] && [[ "${CXX}" = "g++" ]]; then
|
||||
export CXX="g++-4.9" CC="gcc-4.9";
|
||||
fi
|
||||
|
||||
script:
|
||||
# Output version info for compilers, cmake, and make
|
||||
|
Loading…
x
Reference in New Issue
Block a user