Skip to content

Commit

Permalink
update go version on CI
Browse files Browse the repository at this point in the history
Signed-off-by: Ivan Milošević <iva@blokovi.com>
  • Loading branch information
blokovi committed Sep 23, 2019
1 parent 0346950 commit 408826b
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions scripts/ci.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
# This script contains commands to be executed by the CI tool.
NPROC=$(nproc)

update_go() {
echo "Update go version..."
sudo rm -rf /usr/local/go
wget https://dl.google.com/go/go1.13.linux-amd64.tar.gz
sudo tar -C /usr/local -xzf go1.13.linux-amd64.tar.gz \
rm go1.13.linux-amd64.tar.gz
}

setup_protoc() {
echo "Setting up protoc..."
PROTOC_ZIP=protoc-3.6.1-linux-x86_64.zip
Expand Down Expand Up @@ -48,6 +56,7 @@ setup_mf() {

setup() {
echo "Setting up..."
update_go
setup_protoc
setup_mf
}
Expand Down

0 comments on commit 408826b

Please sign in to comment.