Skip to content

Commit

Permalink
Fixed Travis build file
Browse files Browse the repository at this point in the history
  • Loading branch information
alvarosanchez committed Jan 8, 2016
1 parent 1fdd3b7 commit f055dcd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ before_install: "./install-sdkman.sh"
install: true
script: "./test-app.sh"
after_success: "./doc.sh"
after_failure: "./upload-test-reports.sh"
env:
global:
- secure: NDX1oObVIHhG5zUZzhmL8m/601SFB2pE29dci1EcgKrYhdZf+50+Va/b0/7lNzYXnT76CwQmdkbsJmwqBh6+YO+SXcJFE13zudyGfZhLOwY+/oueQB8Up/gk2WbkY4FdIlo0XP/jl+atz4gR9EoAnKCYbdcjYj2lQnJ8ocDpi5U=
Expand Down
2 changes: 2 additions & 0 deletions test-app.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ sdk use grails $grailsVersion
grails create-app -profile org.grails.plugins:spring-security-rest-testapp-profile:$pluginVersion -features $feature $feature && cd $feature && ./gradlew check && cd ..
if [ $? -ne 0 ]; then
echo -e "\033[0;31mTests FAILED\033[0m"
cd ..
./upload-test-reports.sh
exit -1
fi
done \
Expand Down

0 comments on commit f055dcd

Please sign in to comment.