[F] Fixed travis

This commit is contained in:
seleznevae 2018-03-31 16:40:59 +03:00
parent 23fb962f0a
commit 66f7077414

View File

@ -100,18 +100,6 @@ script:
./libfort_test ; ./libfort_test ;
fi 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 # Astyle Format
- | - |
if [ "${CC}" = 'gcc' ]; then if [ "${CC}" = 'gcc' ]; then
@ -145,6 +133,19 @@ script:
scan-build make ; scan-build make ;
fi 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 ..