Skip to content

Commit

Permalink
debugging travis, fixing coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
jprobinson committed Mar 16, 2016
1 parent e73d180 commit 183ee3a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ install:
- curl -O https://storage.googleapis.com/appengine-sdks/$FILE
- unzip -q go_appengine_sdk_linux*
- export PATH=$PATH:$PWD/go_appengine/
- ls $PWD/go_appengine/
- echo $PATH

script:
- make test
Expand Down
2 changes: 1 addition & 1 deletion coverage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ generate_cover_data() {
mkdir "$workdir"

for pkg in "$@"; do
if [ $pkg == "github.com/NYTimes/gizmo/server" -o $pkg == "github.com/NYTimes/gizmo/config" -o $pkg == "github.com/NYTimes/gizmo/web" -o $pkg == "github.com/NYTimes/gizmo/pubsub" -o $pkg == "github.com/NYTimes/gizmo/appengineserver"]
if [ $pkg == "github.com/NYTimes/gizmo/server" -o $pkg == "github.com/NYTimes/gizmo/config" -o $pkg == "github.com/NYTimes/gizmo/web" -o $pkg == "github.com/NYTimes/gizmo/pubsub" -o $pkg == "github.com/NYTimes/gizmo/appengineserver" ]
then
f="$workdir/$(echo $pkg | tr / -)"
go test -covermode="$mode" -coverprofile="$f.cover" "$pkg"
Expand Down

0 comments on commit 183ee3a

Please sign in to comment.