Restrict tests on travis to internal packages

This commit is contained in:
Marius 2016-01-08 14:40:34 +01:00
parent 4b38221157
commit bdf144e9a1
1 changed files with 3 additions and 2 deletions

View File

@ -18,10 +18,11 @@ matrix:
- go: tip
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:
- go test $(find ./ -maxdepth 1 -type d -not \( -name ".git" -or -name "cmd" -or -name "vendor" -or -name "data" \))
- go test $PACKAGES
before_deploy:
- go get github.com/laher/goxc