.builds: combine curl and tar to avoid temporary files

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2019-10-29 01:20:38 +01:00
parent 48e0a5315d
commit 9671406cdd
3 changed files with 3 additions and 8 deletions
+1 -3
View File
@@ -13,9 +13,7 @@ tasks:
- install_go: |
mkdir goroot
cd goroot
curl -s -o go.tar.gz https://dl.google.com/go/go1.13.3.linux-amd64.tar.gz
tar xzf go.tar.gz
rm go.tar.gz
curl -s https://dl.google.com/go/go1.13.3.linux-amd64.tar.gz | tar xz
- install_android: |
mkdir android
cd android
+1 -3
View File
@@ -45,9 +45,7 @@ tasks:
- install_go: |
mkdir goroot
cd goroot
curl -s -o go.tar.gz https://dl.google.com/go/go1.13.3.linux-amd64.tar.gz
tar xzf go.tar.gz
rm go.tar.gz
curl -s https://dl.google.com/go/go1.13.3.linux-amd64.tar.gz | tar xz
- install_gogio: |
cd gio/cmd
go install ./gogio
+1 -2
View File
@@ -16,8 +16,7 @@ tasks:
- install_go: |
mkdir goroot
cd goroot
curl -s -o go.tar.gz https://dl.google.com/go/go1.13.3.linux-amd64.tar.gz
tar xzf go.tar.gz
curl -s https://dl.google.com/go/go1.13.3.linux-amd64.tar.gz | tar xz
- test_gio: |
cd gio
go test ./...