Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
fengzch-das
multibuild
Commits
7180eb53
Commit
7180eb53
authored
Feb 03, 2018
by
xoviat
Browse files
Travis-CI OSX reliability improvements
parent
65b49f49
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
7 deletions
+5
-7
.travis.yml
.travis.yml
+0
-4
configure_build.sh
configure_build.sh
+3
-0
osx_utils.sh
osx_utils.sh
+0
-3
travis_osx_steps.sh
travis_osx_steps.sh
+2
-0
No files found.
.travis.yml
View file @
7180eb53
...
...
@@ -6,10 +6,6 @@ cache:
directories
:
-
$HOME/.ccache
env
:
global
:
-
HOMEBREW_NO_AUTO_UPDATE=1
matrix
:
include
:
-
os
:
linux
...
...
configure_build.sh
View file @
7180eb53
...
...
@@ -22,6 +22,9 @@ if [ -n "$IS_OSX" ]; then
export
CFLAGS
=
"
${
CFLAGS
:-
$ARCH_FLAGS
}
"
export
CXXFLAGS
=
"
${
CXXFLAGS
:-
$ARCH_FLAGS
}
"
export
FFLAGS
=
"
${
FFLAGS
:-
$ARCH_FLAGS
}
"
# Disable homebrew auto-update
export
HOMEBREW_NO_AUTO_UPDATE
=
1
fi
# Promote BUILD_PREFIX on search path to any newly built libs
...
...
osx_utils.sh
View file @
7180eb53
...
...
@@ -281,9 +281,6 @@ function get_macpython_environment {
local
version
=
$1
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
activate_ccache
...
...
travis_osx_steps.sh
View file @
7180eb53
...
...
@@ -18,6 +18,8 @@ source $MULTIBUILD_DIR/library_builders.sh
# config.sh can override any function defined here.
function
before_install
{
# Uninstall oclint. See Travis-CI gh-8826
brew cask uninstall oclint
||
true
export
CC
=
clang
export
CXX
=
clang++
get_macpython_environment
$MB_PYTHON_VERSION
venv
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment