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
1d721a7a
Commit
1d721a7a
authored
Jun 18, 2019
by
misterg
Committed by
Gennadiy Civil
Jun 18, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Googletest export
Move Googletest OSS bazel builds to latest bazel. The latest bazel ( 0.27.0 as of now ) does not run on trusty. PiperOrigin-RevId: 253829774
parent
ee32b72e
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
8 deletions
+3
-8
.travis.yml
.travis.yml
+2
-4
install-linux.sh
ci/install-linux.sh
+1
-4
No files found.
.travis.yml
View file @
1d721a7a
...
@@ -11,28 +11,26 @@ language: cpp
...
@@ -11,28 +11,26 @@ language: cpp
matrix
:
matrix
:
include
:
include
:
-
os
:
linux
-
os
:
linux
dist
:
trusty
sudo
:
required
sudo
:
required
group
:
deprecated-2017Q3
before_install
:
chmod -R +x ./ci/*platformio.sh
before_install
:
chmod -R +x ./ci/*platformio.sh
install
:
./ci/install-platformio.sh
install
:
./ci/install-platformio.sh
script
:
./ci/build-platformio.sh
script
:
./ci/build-platformio.sh
-
os
:
linux
-
os
:
linux
dist
:
xenial
compiler
:
gcc
compiler
:
gcc
sudo
:
true
sudo
:
true
install
:
./ci/install-linux.sh && ./ci/log-config.sh
install
:
./ci/install-linux.sh && ./ci/log-config.sh
script
:
./ci/build-linux-bazel.sh
script
:
./ci/build-linux-bazel.sh
-
os
:
linux
-
os
:
linux
dist
:
xenial
compiler
:
clang
compiler
:
clang
sudo
:
true
sudo
:
true
install
:
./ci/install-linux.sh && ./ci/log-config.sh
install
:
./ci/install-linux.sh && ./ci/log-config.sh
script
:
./ci/build-linux-bazel.sh
script
:
./ci/build-linux-bazel.sh
-
os
:
linux
-
os
:
linux
group
:
deprecated-2017Q4
compiler
:
gcc
compiler
:
gcc
env
:
BUILD_TYPE=Debug VERBOSE=1 CXX_FLAGS=-std=c++11
env
:
BUILD_TYPE=Debug VERBOSE=1 CXX_FLAGS=-std=c++11
-
os
:
linux
-
os
:
linux
group
:
deprecated-2017Q4
compiler
:
clang
compiler
:
clang
env
:
BUILD_TYPE=Release VERBOSE=1 CXX_FLAGS=-std=c++11 -Wgnu-zero-variadic-macro-arguments
env
:
BUILD_TYPE=Release VERBOSE=1 CXX_FLAGS=-std=c++11 -Wgnu-zero-variadic-macro-arguments
-
os
:
linux
-
os
:
linux
...
...
ci/install-linux.sh
View file @
1d721a7a
...
@@ -41,10 +41,7 @@ if [ "${TRAVIS_SUDO}" = "true" ]; then
...
@@ -41,10 +41,7 @@ if [ "${TRAVIS_SUDO}" = "true" ]; then
echo
"deb [arch=amd64] http://storage.googleapis.com/bazel-apt stable jdk1.8"
|
\
echo
"deb [arch=amd64] http://storage.googleapis.com/bazel-apt stable jdk1.8"
|
\
sudo tee
/etc/apt/sources.list.d/bazel.list
sudo tee
/etc/apt/sources.list.d/bazel.list
curl https://bazel.build/bazel-release.pub.gpg |
sudo
apt-key add -
curl https://bazel.build/bazel-release.pub.gpg |
sudo
apt-key add -
sudo
apt-get update
&&
sudo
apt-get
install
-y
gcc-4.9 g++-4.9 clang-3.9
sudo
apt-get update
&&
sudo
apt-get
install
-y
bazel gcc-4.9 g++-4.9 clang-3.9
sudo
wget https://github.com/bazelbuild/bazel/releases/download/0.26.1/bazel-0.26.1-installer-linux-x86_64.sh
sudo chmod
+x bazel-0.26.1-installer-linux-x86_64.sh
sudo
./bazel-0.26.1-installer-linux-x86_64.sh
elif
[
"
${
CXX
}
"
=
"clang++"
]
;
then
elif
[
"
${
CXX
}
"
=
"clang++"
]
;
then
# Use ccache, assuming $HOME/bin is in the path, which is true in the Travis build environment.
# Use ccache, assuming $HOME/bin is in the path, which is true in the Travis build environment.
ln
-sf
/usr/bin/ccache
$HOME
/bin/
${
CXX
}
;
ln
-sf
/usr/bin/ccache
$HOME
/bin/
${
CXX
}
;
...
...
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