We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a231ad commit 56cb9b0Copy full SHA for 56cb9b0
.travis.yml
@@ -0,0 +1,21 @@
1
+language: go
2
+
3
+go:
4
+ - 1.9
5
+ - tip
6
7
+install:
8
+ - |
9
+ # fix path issue in forks
10
+ if [ "$TRAVIS_REPO_SLUG" != "piprate/json-gold" ]; then
11
+ echo "Need to fix path for forks"
12
+ cd $HOME/gopath/src/github.com
13
+ mv $(dirname $TRAVIS_REPO_SLUG) piprate
14
+ cd piprate/json-gold
15
+ export TRAVIS_BUILD_DIR=$HOME/gopath/src/github.com/piprate/json-gold
16
+ pwd
17
+ fi
18
+ - go get -v -t ./...
19
20
+script:
21
+ - go test -v -race -cover ./...
0 commit comments