mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-01 15:45:38 +00:00
.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:
+6
-1
@@ -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'
|
||||
|
||||
@@ -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
|
||||
}{
|
||||
|
||||
Reference in New Issue
Block a user