Skip to content

Commit

Permalink
add env for .travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
liujianping committed May 9, 2019
1 parent 28fb1c0 commit 0985403
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
language: go
go:
- 1.11.x
env:
- GO111MODULE=on
script:
- GO111MODULE=on GOOS=windows go install -mod vendor github.com/liujianping/job
- GO111MODULE=on GOOS=linux go install -mod vendor github.com/liujianping/job
- GO111MODULE=on GOOS=darwin go install -mod vendor github.com/liujianping/job
- GOOS=windows go install -mod vendor github.com/liujianping/job
- GOOS=linux go install -mod vendor github.com/liujianping/job
- GOOS=darwin go install -mod vendor github.com/liujianping/job

0 comments on commit 0985403

Please sign in to comment.