Working on travis file
This commit is contained in:
parent
12aa29a8e4
commit
b682c75a29
18
.travis.yml
18
.travis.yml
|
@ -249,19 +249,21 @@ branches:
|
||||||
- develop
|
- develop
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- mkdir build_directory
|
- mkdir build_rp3d
|
||||||
- cd build_directory
|
- cd build_rp3d
|
||||||
- cmake -DCMAKE_BUILD_TYPE=${BUILD_TYPE} —DRP3D_DOUBLE_PRECISION_ENABLED=${DOUBLE_PRECISION} -DRP3D_COMPILE_TESTS=True -DRP3D_PROFILING_ENABLED=${PROFILER} -DRP3D_CODE_COVERAGE_ENABLED=${CODE_COVERAGE} ../
|
- cmake -DCMAKE_BUILD_TYPE=${BUILD_TYPE} —DRP3D_DOUBLE_PRECISION_ENABLED=${DOUBLE_PRECISION} -DRP3D_COMPILE_TESTS=True -DRP3D_PROFILING_ENABLED=${PROFILER} -DRP3D_CODE_COVERAGE_ENABLED=${CODE_COVERAGE} ../
|
||||||
- make -j2 && make test ARGS="-V"
|
- make -j2 && make test ARGS="-V"
|
||||||
- if [ "${VALGRIND}" == "True" ]; then
|
- if [ "${VALGRIND}" == "True" ]; then
|
||||||
valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes --verbose --error-exitcode=1 test/tests;
|
valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes --verbose --error-exitcode=1 test/tests;
|
||||||
fi
|
fi
|
||||||
- sudo make install
|
- if [ "${CODE_COVERAGE}" == "False" ]; then
|
||||||
- cd ../
|
sudo make install;
|
||||||
- mkdir build_helloworld
|
cd ../;
|
||||||
- cd build_helloworld
|
mkdir build_helloworld;
|
||||||
- cmake -DCMAKE_BUILD_TYPE=${BUILD_TYPE} ../helloworld/
|
cd build_helloworld;
|
||||||
- make -j2
|
cmake -DCMAKE_BUILD_TYPE=${BUILD_TYPE} ../helloworld/;
|
||||||
|
make -j2;
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
after_success:
|
after_success:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user