Have TravisCI switch to release build on tag.
set -e
if [[ "$BUILD_TOOL" == "scons" ]]; then
+ BUILDMODE="MODE=DEBUG"
+ if [[ -n "$TRAVIS_TAG" ]]; then BUILDMODE="MODE=RELEASE"; fi
cd build/scons
- scons develop develop_unittest dist -j 3 ARCH=x86_64
+ scons develop develop_unittest dist -j 3 ARCH=x86_64 $BUILDMODE
cd ../..
elif [[ "$BUILD_TOOL" == "autotools" ]]; then
cd build/autotools
