[C] Modified travis script

This commit is contained in:
seleznevae 2018-12-03 23:14:12 +03:00
parent fcae3b8798
commit d2021192d3

View File

@ -127,13 +127,11 @@ script:
fi fi
# basic build with old c standard # basic build with old c standard
- if [ "${BASIC_LINUX_GCC}" = "yes" ]; - cd lib
then - ${CC} -Wextra -Wall -Werror --std=c89 fort.c -c -o fort.o
cd lib ; - rm fort.o
gcc -Wextra -Wall -Werror --std=c89 fort.c -c -o fort.o ; - cd ..
rm fort.o ;
cd .. ;
fi
# cppcheck run # cppcheck run
- | - |