Skip to content

Commit

Permalink
add dispatch to test/coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
Greg Russell committed Mar 2, 2018
1 parent 4f11c13 commit f3b9708
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ install:

script:
# To start, run all the non-integration tests.
- MODULES="cloud/tq cmd/gardener"
- MODULES="dispatch cloud/tq cmd/gardener"
- for module in $MODULES; do
COVER_PKGS=${COVER_PKGS}./$module/..., ;
done
Expand All @@ -72,7 +72,7 @@ script:
# Note: we do not run integration tests from forked PRs b/c the SA is unavailable.
# Note that for modules in subdirectories, this replaces separating slashes with _.
- if [[ -n "$SERVICE_ACCOUNT_mlab_testing" ]] ; then
for module in cloud/tq cmd/gardener ; do
for module in dispatch cloud/tq cmd/gardener ; do
go test -v -coverpkg=$COVER_PKGS -coverprofile=${module//\//_}.cov github.com/m-lab/etl-gardener/$module -tags=integration ;
EC=$[ $EC || $? ] ;
done ;
Expand Down

0 comments on commit f3b9708

Please sign in to comment.