Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
googletest
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
googletest
Commits
9a502a5b
Unverified
Commit
9a502a5b
authored
Feb 05, 2019
by
Gennadiy Civil
Committed by
GitHub
Feb 05, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2100 from ngie-eign/test-clang-osx-every-travis-run
Test out changes with clang/OSX each PR using Travis CI
parents
e28b5060
9df5475b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
3 deletions
+17
-3
.travis.yml
.travis.yml
+8
-1
env-osx.sh
ci/env-osx.sh
+7
-1
install-osx.sh
ci/install-osx.sh
+2
-1
No files found.
.travis.yml
View file @
9a502a5b
...
@@ -48,8 +48,8 @@ matrix:
...
@@ -48,8 +48,8 @@ matrix:
compiler
:
gcc
compiler
:
gcc
env
:
BUILD_TYPE=Release VERBOSE=1 CXX_FLAGS=-std=c++11 HOMEBREW_LOGS=~/homebrew-logs HOMEBREW_TEMP=~/homebrew-temp
env
:
BUILD_TYPE=Release VERBOSE=1 CXX_FLAGS=-std=c++11 HOMEBREW_LOGS=~/homebrew-logs HOMEBREW_TEMP=~/homebrew-temp
-
os
:
osx
-
os
:
osx
compiler
:
clang
env
:
BUILD_TYPE=Release VERBOSE=1 CXX_FLAGS=-std=c++11 HOMEBREW_LOGS=~/homebrew-logs HOMEBREW_TEMP=~/homebrew-temp
env
:
BUILD_TYPE=Release VERBOSE=1 CXX_FLAGS=-std=c++11 HOMEBREW_LOGS=~/homebrew-logs HOMEBREW_TEMP=~/homebrew-temp
if
:
type != pull_request
# These are the install and build (script) phases for the most common entries in the matrix. They could be included
# These are the install and build (script) phases for the most common entries in the matrix. They could be included
# in each entry in the matrix, but that is just repetitive.
# in each entry in the matrix, but that is just repetitive.
...
@@ -73,6 +73,13 @@ addons:
...
@@ -73,6 +73,13 @@ addons:
packages
:
packages
:
-
g++-4.9
-
g++-4.9
-
clang-3.9
-
clang-3.9
update
:
true
homebrew
:
packages
:
-
ccache
-
gcc@4.9
-
llvm@3.9
update
:
true
notifications
:
notifications
:
email
:
false
email
:
false
ci/env-osx.sh
View file @
9a502a5b
...
@@ -37,5 +37,11 @@
...
@@ -37,5 +37,11 @@
#
#
if
[
"
${
TRAVIS_OS_NAME
}
"
=
"osx"
]
;
then
if
[
"
${
TRAVIS_OS_NAME
}
"
=
"osx"
]
;
then
if
[
"
$CXX
"
=
"clang++"
]
;
then
export
CXX
=
"clang++-3.9"
CC
=
"clang-3.9"
;
fi
if
[
"
$CXX
"
=
"clang++"
]
;
then
# $PATH needs to be adjusted because the llvm tap doesn't install the
# package to /usr/local/bin, etc, like the gcc tap does.
# See: https://github.com/Homebrew/legacy-homebrew/issues/29733
clang_version
=
3.9
export
PATH
=
"/usr/local/opt/llvm@
${
clang_version
}
/bin:
$PATH
"
;
fi
fi
fi
ci/install-osx.sh
View file @
9a502a5b
...
@@ -36,4 +36,5 @@ if [ "${TRAVIS_OS_NAME}" != "osx" ]; then
...
@@ -36,4 +36,5 @@ if [ "${TRAVIS_OS_NAME}" != "osx" ]; then
exit
0
exit
0
fi
fi
brew
install
ccache
brew update
brew
install
ccache gcc@4.9 llvm@3.9
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