Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
yangql
googletest
Commits
60b92986
Commit
60b92986
authored
Jun 17, 2019
by
Gennadiy Civil
Browse files
Fixing CI break by going to bazel 0.26.1
parent
c1a584d3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
ci/install-linux.sh
ci/install-linux.sh
+4
-1
No files found.
ci/install-linux.sh
View file @
60b92986
...
@@ -41,7 +41,10 @@ if [ "${TRAVIS_SUDO}" = "true" ]; then
...
@@ -41,7 +41,10 @@ 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
bazel gcc-4.9 g++-4.9 clang-3.9
sudo
apt-get update
&&
sudo
apt-get
install
-y
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