Travis CI : Move the tcc check to the install step

This commit is contained in:
Frank Denis 2017-09-15 13:12:17 +02:00
parent 19496bcc01
commit f86f021acf

View File

@ -10,11 +10,12 @@ compiler:
- gcc
- g++
before_script:
install:
- ./autogen.sh
- env CC=tcc CFLAGS='-w' ./configure --prefix=/tmp --disable-dependency-tracking --disable-shared || cat config.log
- make -j $(nproc) && make check && make install
- env CC=tcc CPPFLAGS='-I/tmp/include' LDFLAGS='-L/tmp/lib' LD_LIBRARY_PATH='/tmp/lib' ./test/constcheck.sh
- make uninstall
- make distclean
script: