mirror of https://github.com/proxmox/mirror_qemu
travis.yml: duplicate before_script for MacOSX
Rather than keep the hack in the global code lets "Think Different" and have a special copy for MacOSX. Signed-off-by: Alex Bennée <alex.bennee@linaro.org>master
parent
3b35388358
commit
6e3bd8a072
|
@ -89,7 +89,6 @@ git:
|
||||||
|
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- if [ "$TRAVIS_OS_NAME" == "osx" ] ; then export PATH="/usr/local/opt/ccache/libexec:$PATH" ; fi
|
|
||||||
- if command -v ccache ; then ccache --zero-stats ; fi
|
- if command -v ccache ; then ccache --zero-stats ; fi
|
||||||
- mkdir -p ${BUILD_DIR} && cd ${BUILD_DIR}
|
- mkdir -p ${BUILD_DIR} && cd ${BUILD_DIR}
|
||||||
- ${SRC_DIR}/configure ${BASE_CONFIG} ${CONFIG} || { cat config.log && exit 1; }
|
- ${SRC_DIR}/configure ${BASE_CONFIG} ${CONFIG} || { cat config.log && exit 1; }
|
||||||
|
@ -240,6 +239,11 @@ matrix:
|
||||||
os: osx
|
os: osx
|
||||||
osx_image: xcode10.3
|
osx_image: xcode10.3
|
||||||
compiler: clang
|
compiler: clang
|
||||||
|
before_script:
|
||||||
|
- export PATH="/usr/local/opt/ccache/libexec:$PATH"
|
||||||
|
- if command -v ccache ; then ccache --zero-stats ; fi
|
||||||
|
- mkdir -p ${BUILD_DIR} && cd ${BUILD_DIR}
|
||||||
|
- ${SRC_DIR}/configure ${BASE_CONFIG} ${CONFIG} || { cat config.log && exit 1; }
|
||||||
|
|
||||||
|
|
||||||
# Python builds
|
# Python builds
|
||||||
|
|
Loading…
Reference in New Issue