Skip to content

Commit

Permalink
print diffs on build failure
Browse files Browse the repository at this point in the history
  • Loading branch information
corngood committed Apr 8, 2017
1 parent a75d8e9 commit 4b8895d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ arch:
script:
- sudo pip install python-debian
- ./build.sh
- 'if [ -n "$(git status --porcelain)" ]; then echo Error: changes found after generate; git status; exit 1; fi'
- 'if [ -n "$(git status --porcelain)" ]; then echo Error: changes found after generate; git diff; exit 1; fi'
- makepkg --printsrcinfo > .SRCINFO
- 'if [ -n "$(git status --porcelain)" ]; then echo Error: changes found after printsrcinfo; git status; exit 1; fi'
- 'if [ -n "$(git status --porcelain)" ]; then echo Error: changes found after printsrcinfo; git diff; exit 1; fi'
- ALL_PACKAGES=true PKGEXT='.pkg.tar' makepkg -s
- 'if [ -n "$(git status --porcelain)" ]; then echo Error: changes found after build; git status; exit 1; fi'
- 'if [ -n "$(git status --porcelain)" ]; then echo Error: changes found after build; git diff; exit 1; fi'

script:
- export EDITOR=false
Expand Down

0 comments on commit 4b8895d

Please sign in to comment.