".github/vscode:/vscode.git/clone" did not exist on "76948563a7fad96c7dc8975d2f600e11a3373667"
Unverified Commit 3634d867 authored by xoviat's avatar xoviat Committed by GitHub
Browse files

Merge pull request #139 from matthew-brett/osx-reliability

Osx reliability improvements
parents 65b49f49 fc4012f1
...@@ -6,10 +6,6 @@ cache: ...@@ -6,10 +6,6 @@ cache:
directories: directories:
- $HOME/.ccache - $HOME/.ccache
env:
global:
- HOMEBREW_NO_AUTO_UPDATE=1
matrix: matrix:
include: include:
- os: linux - os: linux
...@@ -27,11 +23,6 @@ matrix: ...@@ -27,11 +23,6 @@ matrix:
- TEST_BUILDS=1 - TEST_BUILDS=1
- USE_CCACHE=1 - USE_CCACHE=1
sudo: required sudo: required
- os: osx
osx_image: xcode6.4
env:
- PYTHON_VERSION=2.7.11
- TEST_BUILDS=1
- os: osx - os: osx
osx_image: xcode6.4 osx_image: xcode6.4
env: env:
......
...@@ -22,6 +22,9 @@ if [ -n "$IS_OSX" ]; then ...@@ -22,6 +22,9 @@ if [ -n "$IS_OSX" ]; then
export CFLAGS="${CFLAGS:-$ARCH_FLAGS}" export CFLAGS="${CFLAGS:-$ARCH_FLAGS}"
export CXXFLAGS="${CXXFLAGS:-$ARCH_FLAGS}" export CXXFLAGS="${CXXFLAGS:-$ARCH_FLAGS}"
export FFLAGS="${FFLAGS:-$ARCH_FLAGS}" export FFLAGS="${FFLAGS:-$ARCH_FLAGS}"
# Disable homebrew auto-update
export HOMEBREW_NO_AUTO_UPDATE=1
fi fi
# Promote BUILD_PREFIX on search path to any newly built libs # Promote BUILD_PREFIX on search path to any newly built libs
......
...@@ -281,9 +281,6 @@ function get_macpython_environment { ...@@ -281,9 +281,6 @@ function get_macpython_environment {
local version=$1 local version=$1
local venv_dir=$2 local venv_dir=$2
# We MUST set this before calling homebrew or it could potentially fail
# See travis-ci issue #8552 for more details
export HOMEBREW_NO_AUTO_UPDATE=1
if [ "$USE_CCACHE" == "1" ]; then if [ "$USE_CCACHE" == "1" ]; then
activate_ccache activate_ccache
......
...@@ -18,6 +18,8 @@ source $MULTIBUILD_DIR/library_builders.sh ...@@ -18,6 +18,8 @@ source $MULTIBUILD_DIR/library_builders.sh
# config.sh can override any function defined here. # config.sh can override any function defined here.
function before_install { function before_install {
# Uninstall oclint. See Travis-CI gh-8826
brew cask uninstall oclint || true
export CC=clang export CC=clang
export CXX=clang++ export CXX=clang++
get_macpython_environment $MB_PYTHON_VERSION venv get_macpython_environment $MB_PYTHON_VERSION venv
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment