g3log/scripts/buildAndRunTests.sh
Kjell Hedström 1eb0408347
Simplified travis setup with ubuntu xenail (#300)
* test in progress

* improved PR instructions

* revert back
2019-02-18 10:50:37 -07:00

17 lines
326 B
Bash
Executable File

#!/bin/bash
set -ev
set -x
unzip -o 3rdParty/gtest/gtest-1.7.0.zip -d 3rdParty/gtest
mkdir -p build_travis
cd build_travis
cmake -DCMAKE_CXX_FLAGS=-std=c++14 -DADD_G3LOG_BENCH_PERFORMANCE=ON -DADD_G3LOG_UNIT_TEST=ON ..
makeArg=`grep -c ^processor /proc/cpuinfo`
make -j$makeArg
/bin/bash ../scripts/runAllTests.sh