fix logic error in .travis.yml

This commit is contained in:
Chris Beck 2014-06-30 21:04:49 -04:00
parent 0cb717c4f9
commit 8c63b5fe52

View file

@ -28,7 +28,7 @@ install:
- if [ "$CHECK_UTF8" = true ]; then time sudo apt-get install -qq moreutils; fi
script:
- if [ "$CHECK_UTF8" = true ]; then time ./utils/travis/check_utf8.sh; fi
- time grep -qorHbm1 "^`echo -ne '\xef\xbb\xbf'`" po/ src/ data/ || exit 1
- time grep -qorHbm1 "^`echo -ne '\xef\xbb\xbf'`" po/ src/ data/ && exit 1
# UTF8 checks are the previous two lines. the second one checks po src data for UTF8 bom, this takes less than a second.
- scons cxxtool=$CXX --debug=time strict=$STRICT_COMPILATION $TARGETS
- "export DISPLAY=:99.0"