-
Notifications
You must be signed in to change notification settings - Fork 6
/
.travis.yml
22 lines (22 loc) · 889 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
sudo: false
install:
# From vecty's https://github.com/gopherjs/vecty/blob/master/.travis.yml
# Manually download and install Go 1.12 because the Travis / gimme version
# is broken (see https://travis-ci.community/t/goos-js-goarch-wasm-go-run-fails-panic-newosproc-not-implemented/1651/6)
- wget -O go.tar.gz https://dl.google.com/go/go1.12.linux-amd64.tar.gz
- tar -C ~ -xzf go.tar.gz
- rm go.tar.gz
- export GOROOT=~/go
- export GOPATH=/home/travis/go
- export PATH=$GOROOT/bin:$PATH
- export GOBIN=/home/travis/go/bin
- go version
- go env
before_script:
- mkdir /home/travis/go/src/mfrachet
- mv /home/travis/build/mfrachet/go-vdom-wasm /home/travis/go/src/mfrachet/go-vdom-wasm
- cd /home/travis/go/src/mfrachet/go-vdom-wasm
- curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
- /home/travis/go/bin/dep ensure
script:
- make