Skip to content

Commit 4d5686f

Browse files
committed
fix before_script condition
1 parent 0e48bc6 commit 4d5686f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
language: go
22

3-
before_script: [[ $TRAVIS_GO_VERSION =~ (^1\.8) ]]; then cd $GOPATH/src/github.com/stretchr/testify/ && git checkout v1.2.2 && cd -; fi
3+
before_script: if [[ $TRAVIS_GO_VERSION =~ (^1\.8) ]]; then cd $GOPATH/src/github.com/stretchr/testify/ && git checkout v1.2.2 && cd -; fi
44

55
go:
66
- "1.8.x"

0 commit comments

Comments
 (0)