From 66f7077414aed06149916cdb7352c5538c9b2b4d Mon Sep 17 00:00:00 2001 From: seleznevae Date: Sat, 31 Mar 2018 16:40:59 +0300 Subject: [PATCH] [F] Fixed travis --- .travis.yml | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) 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 .. +