Basic CI support with TravisCI (#340)
Add support for continuous integration with Travis CI. This implements bare bones support that can be extended over time. Travis CI test environments: All use gcc 5. Test the serial distributed back end with serial and cthread threading backends. Test mpi with cthread. The tbb test failed sporadically because CMake, so it is disabled for now. The test script: Builds the unit tests, global_communication tests and miniapp. Asserts that all unit and global_communication tests pass. Asserts that the miniapp runs successfully. does not test miniapp output for now. There is plenty of scope for improving the tests. A key improvement will be to use validated output for the validation and miniapp to provide some validation. There were some small fixes required to make the tests pass on Travis communication/mpi.hpp now sets default size and rank values of 1 and 0 respectively to allow all unit tests to p...
Showing
- .travis.yml 30 additions, 0 deletions.travis.yml
- CMakeLists.txt 5 additions, 3 deletionsCMakeLists.txt
- scripts/travis/build.sh 65 additions, 0 deletionsscripts/travis/build.sh
- src/communication/mpi.cpp 6 additions, 2 deletionssrc/communication/mpi.cpp
- src/communication/mpi.hpp 9 additions, 5 deletionssrc/communication/mpi.hpp
- tests/unit/test_range.cpp 1 addition, 0 deletionstests/unit/test_range.cpp
Please register or sign in to comment