Skip to content

Commit

Permalink
Fix grep test in travis-build
Browse files Browse the repository at this point in the history
  • Loading branch information
joshmoore committed Oct 14, 2014
1 parent 9d97e6c commit 150866a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions components/tools/travis-build
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,12 @@ build_java()

# make sure that the current db script has no code-generated
# foreign key names in it
dist/bin/omero db script "" "" ome -f- | grep -niE "fk[a-z]*[0-9]+[a-z0-9]{5}" && exit 2

dist/bin/omero db script "" "" ome -f- | grep -LiE "fk[a-z]*[0-9]+[a-z0-9]{5}" && {
echo generated FKs found
exit 2
} || {
echo SQL clean
}
}

build_python()
Expand Down

0 comments on commit 150866a

Please sign in to comment.