forked from LaconicNetwork/kompose
update travis.yml to run tests and build only for current platform
This commit is contained in:
parent
6099428364
commit
575d7e4162
19
.travis.yml
19
.travis.yml
@ -1,18 +1,21 @@
|
||||
# we need trusty because test-cmd depends on jq version >= 1.5
|
||||
dist : trusty
|
||||
sudo: required
|
||||
|
||||
|
||||
language: go
|
||||
|
||||
go:
|
||||
- 1.6
|
||||
|
||||
branches:
|
||||
only:
|
||||
- master
|
||||
|
||||
install:
|
||||
- go get github.com/mitchellh/gox
|
||||
- go get github.com/tools/godep
|
||||
- ./script/godep-restore.sh
|
||||
- true
|
||||
|
||||
script:
|
||||
- make binary
|
||||
- make binary
|
||||
# $GOPATH/bin is in $PATH
|
||||
- mkdir $GOPATH/bin
|
||||
- cp kompose $GOPATH/bin/
|
||||
|
||||
- make test-unit
|
||||
- make test-cmd
|
||||
|
||||
Loading…
Reference in New Issue
Block a user