diff --git a/.travis.yml b/.travis.yml index 0470bcf..914a5d8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -32,12 +32,16 @@ before_script: - cd .. # Creating libraries links and updating cache - sudo ldconfig > /dev/null + #installing check, needed for unit tests + - sudo apt-get install check > /dev/null # Installing toxcore - git clone https://github.com/irungentoo/toxcore.git toxcore - cd toxcore - autoreconf -i - - ./configure --disable-tests --disable-ntox --disable-daemon --enable-av - - make -j2 || make || exit 1 + - CFLAGS="-Ofast -Wall -Wextra" ./configure --disable-daemon --disable-ntox + - make -j3 + - make check + - make dist - sudo make install - cd .. script: