Restrict tests on travis to internal packages
This commit is contained in:
parent
4b38221157
commit
bdf144e9a1
|
@ -18,10 +18,11 @@ matrix:
|
||||||
- go: tip
|
- go: tip
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- go get ./...
|
- export PACKAGES=$(find ./ -maxdepth 1 -type d -not \( -name ".git" -or -name "cmd" -or -name "vendor" -or -name "data" \))
|
||||||
|
- go get $PACKAGES
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- go test $(find ./ -maxdepth 1 -type d -not \( -name ".git" -or -name "cmd" -or -name "vendor" -or -name "data" \))
|
- go test $PACKAGES
|
||||||
|
|
||||||
before_deploy:
|
before_deploy:
|
||||||
- go get github.com/laher/goxc
|
- go get github.com/laher/goxc
|
||||||
|
|
Loading…
Reference in New Issue