.builds: use Go 1.14 for the basic tests

WebAssembly builds require Go 1.14 since the breaking change in Go,
golang.org/cl/203600.

gofmt -w -s . as well.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2019-11-06 18:23:04 +01:00
parent b0c29b5489
commit e683b19b29
2 changed files with 7 additions and 2 deletions
+6 -1
View File
@@ -19,8 +19,13 @@ sources:
- https://git.sr.ht/~eliasnaur/gio
environment:
GOFLAGS: -mod=readonly
PATH: /usr/bin
PATH: /home/build/bin:/usr/bin
tasks:
- install_gotip: |
go get golang.org/dl/gotip
/home/build/go/bin/gotip download
mkdir /home/build/bin
ln -s /home/build/go/bin/gotip /home/build/bin/go
- install_chrome: |
curl -s https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
sudo sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
+1 -1
View File
@@ -47,7 +47,7 @@ func TestEndToEnd(t *testing.T) {
t.Parallel()
// Keep this list local, to not reuse TestDriver objects.
subtests := []struct{
subtests := []struct {
name string
driver TestDriver
}{