mirror of https://github.com/ginuerzh/gost
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
361 B
25 lines
361 B
language: go
|
|
|
|
go:
|
|
- "1.8.x"
|
|
- "1.9.x"
|
|
- "1.10.x"
|
|
|
|
env:
|
|
- TRAVIS_GOARCH=amd64
|
|
- TRAVIS_GOARCH=386
|
|
|
|
before_install:
|
|
- export GOARCH=$TRAVIS_GOARCH
|
|
|
|
branches:
|
|
only:
|
|
- master
|
|
|
|
before_script:
|
|
- go get -u github.com/klauspost/asmfmt/cmd/asmfmt
|
|
|
|
script:
|
|
- diff -au <(gofmt -d .) <(printf "")
|
|
- diff -au <(asmfmt -d .) <(printf "")
|
|
- go test -v ./...
|
|
|