\r
before_script: cd ./build\r
\r
-script: ./build.sh -b 64 -j 4 -x ${CXX} -z '-std=c++0x -Wall -Wextra -pedantic' -t test_hdr\r
+script: ./build.sh -b 64 -j 4 -x ${CXX} -z '-Wall -Wextra -pedantic' -t test_hdr\r
\r
#after_success:\r
\r
OBJ_PATH=$OBJ_PATH/debug \
debug
-if test $? -gt 0; then
+if [ $? -ne 0 ]; then
exit $?
fi
OBJ_PATH=$OBJ_PATH/release \
release
-if test $? -gt 0; then
+if [ $? -ne 0 ]; then
exit $?
fi
OBJ_PATH=$OBJ_PATH/test \
$target
- if test $? -gt 0; then
+ if [ $? -ne 0 ]; then
exit $?
fi
fi
OBJ_PATH=$OBJ_PATH/test-debug \
$target
- if test $? -gt 0; then
+ if [ $? -ne 0 ]; then
exit $?
fi
fi