Rename test.sh to travis.sh

This commit is contained in:
Dirk Ziegelmeier
2018-10-12 21:44:47 +02:00
parent 75bc361156
commit a63b5aeaa7
2 changed files with 1 additions and 1 deletions

27
travis.sh Executable file
View File

@@ -0,0 +1,27 @@
#!/bin/bash
if [ "$COMPILER" ];
then
export CC=$COMPILER
fi
cd contrib/ports/unix/check
#build and run unit tests
make clean all
ERR=$?
if [ $ERR != 0 ]; then
echo "unittests build failed"
exit 33
fi
make check -j 4
cd ../../../../
mkdir build
cd build
cmake ..
ERR=$?
if [ $ERR != 0 ]; then
echo "cmake failed"
exit 33
fi
cmake --build .