mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-06 09:55:40 +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
|
- https://git.sr.ht/~eliasnaur/gio
|
||||||
environment:
|
environment:
|
||||||
GOFLAGS: -mod=readonly
|
GOFLAGS: -mod=readonly
|
||||||
PATH: /usr/bin
|
PATH: /home/build/bin:/usr/bin
|
||||||
tasks:
|
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: |
|
- install_chrome: |
|
||||||
curl -s https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
|
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'
|
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()
|
t.Parallel()
|
||||||
|
|
||||||
// Keep this list local, to not reuse TestDriver objects.
|
// Keep this list local, to not reuse TestDriver objects.
|
||||||
subtests := []struct{
|
subtests := []struct {
|
||||||
name string
|
name string
|
||||||
driver TestDriver
|
driver TestDriver
|
||||||
}{
|
}{
|
||||||
|
|||||||
Reference in New Issue
Block a user