Skip to content

Commit

Permalink
Publish work in progress report
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelmeyer committed Mar 29, 2015
1 parent 0e6e29d commit 37ecd19
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ install:
- if [ "$PUBLISH" == "true" ]; then ( go get -v golang.org/x/tools/cmd/cover ); fi

script:
- ( go run features/wire_server.go & ) ; sleep 1 ; cucumber --profile done --profile html
- ( go run features/wire_server.go & ) ; sleep 1 ; cucumber --profile wip
- ( go run features/wire_server.go & ) ; sleep 1 ; cucumber -p done -p html ; mv output.html features.html
- ( go run features/wire_server.go & ) ; sleep 1 ; cucumber -p wip -p html ; mv output.html wip.html
- if [ "$PUBLISH" == "false" ]; then ( go test -v ); fi
- if [ "$PUBLISH" == "true" ]; then ( go test -v -covermode=count -coverprofile=gourd.cov ); fi
- if [ "$PUBLISH" == "true" ]; then ( PATH="$PATH:~/gopath/bin" goveralls -coverprofile=gourd.cov -service=travis-ci ); fi
Expand Down
3 changes: 1 addition & 2 deletions cucumber.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
done: --tags ~@wip
wip: --wip --tags @wip

html_quiet: --format html --out features.html
html: --format pretty --profile html_quiet
html: --format pretty --format html --out output.html

1 change: 1 addition & 0 deletions update-gh-pages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ if [ "${TRAVIS_PULL_REQUEST}" == "false" ]; then

#copy data we're interested in to other place
cp features.html ${HOME}/reports
cp wip.html ${HOME}/reports

#go to home and setup git
cd ${HOME}
Expand Down

0 comments on commit 37ecd19

Please sign in to comment.