[C] Modified travis script
This commit is contained in:
parent
fcae3b8798
commit
d2021192d3
12
.travis.yml
12
.travis.yml
@ -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
|
||||||
- |
|
- |
|
||||||
|
Loading…
Reference in New Issue
Block a user