File tree 4 files changed +8
-5
lines changed
4 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -15,11 +15,12 @@ case "$1" in
15
15
case " ${TRAVIS_OS_NAME} " in
16
16
" linux" )
17
17
sudo apt-get remove openjdk-9-jdk oracle-java9-installer # Conflicts with Bazel.
18
- wget https://github.com/bazelbuild/bazel/releases/download/0.4.5/bazel_0.4.5 -linux-x86_64.deb
19
- echo ' b494d0a413e4703b6cd5312403bea4d92246d6425b3be68c9bfbeb8cc4db8a55 bazel_0.4.5 -linux-x86_64.deb' | sha256sum -c --strict || exit 1
20
- sudo dpkg -i bazel_0.4.5 -linux-x86_64.deb
18
+ wget https://github.com/bazelbuild/bazel/releases/download/1.1.0/bazel_1.1.0 -linux-x86_64.deb
19
+ echo ' 138b47ffd54924e3c0264c65d31d3927803fb9025db4d5b18107df79ee3bda95 bazel_1.1.0 -linux-x86_64.deb' | sha256sum -c --strict || exit 1
20
+ sudo dpkg -i bazel_1.1.0 -linux-x86_64.deb
21
21
;;
22
22
" osx" )
23
+ brew cask install homebrew/cask-versions/adoptopenjdk8
23
24
brew install bazel
24
25
;;
25
26
esac
Original file line number Diff line number Diff line change 3
3
4
4
workspace (name = "guetzli" )
5
5
6
- new_http_archive (
6
+ load ("@bazel_tools//tools/build_defs/repo:http.bzl" , "http_archive" )
7
+
8
+ http_archive (
7
9
name = "png_archive" ,
8
10
build_file = "png.BUILD" ,
9
11
sha256 = "a941dc09ca00148fe7aaf4ecdd6a67579c293678ed1e1cf633b5ffc02f4f8cf7" ,
10
12
strip_prefix = "libpng-1.2.57" ,
11
13
url = "http://github.com/glennrp/libpng/archive/v1.2.57.zip" ,
12
14
)
13
15
14
- new_http_archive (
16
+ http_archive (
15
17
name = "zlib_archive" ,
16
18
build_file = "zlib.BUILD" ,
17
19
sha256 = "8d7e9f698ce48787b6e1c67e6bff79e487303e66077e25cb9784ac8835978017" ,
File renamed without changes.
File renamed without changes.
You can’t perform that action at this time.
0 commit comments