mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
13 lines
547 B
YAML
13 lines
547 B
YAML
language: go
|
|
go:
|
|
- "1.10"
|
|
sudo: false
|
|
before_install:
|
|
# Make sure travis builds work for forks
|
|
- mkdir -p $TRAVIS_BUILD_DIR $GOPATH/src/github.com/senorprogrammer
|
|
- test ! -d $GOPATH/src/github.com/senorprogrammer/wtf && mv $TRAVIS_BUILD_DIR $GOPATH/src/github.com/senorprogrammer/wtf || true
|
|
- export TRAVIS_BUILD_DIR=$HOME/gopath/src/github.com/senorprogrammer/wtf
|
|
- cd $HOME/gopath/src/github.com/senorprogrammer/wtf
|
|
|
|
script: go get ./... && go get github.com/go-test/deep && go test -v github.com/senorprogrammer/wtf/wtf_tests/...
|