[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
# basic build with old c standard
- if [ "${BASIC_LINUX_GCC}" = "yes" ];
then
cd lib ;
gcc -Wextra -Wall -Werror --std=c89 fort.c -c -o fort.o ;
rm fort.o ;
cd .. ;
fi
- cd lib
- ${CC} -Wextra -Wall -Werror --std=c89 fort.c -c -o fort.o
- rm fort.o
- cd ..
# cppcheck run
- |