diff --git a/.travis.yml b/.travis.yml index 07bc35b..73721c7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -100,18 +100,6 @@ script: ./libfort_test ; fi - # Build for coveralls - - | - if [ "${CC}" = 'gcc' ]; then - cd .. ; - rm -r build/* ; - cd build ; - cmake .. -DFORT_BUILD_TYPE=coveralls ; - cmake --build . --target all ; - ls ; - ./libfort_test ; - fi - # Astyle Format - | if [ "${CC}" = 'gcc' ]; then @@ -145,6 +133,19 @@ script: scan-build make ; fi + # Build for coveralls (should be the last) + - | + if [ "${CC}" = 'gcc' ]; then + cd .. ; + rm -r build/* ; + cd build ; + cmake .. -DFORT_BUILD_TYPE=coveralls ; + cmake --build . --target all ; + ls ; + ./libfort_test ; + fi + - cd .. +