1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-11-23 04:33:02 +01:00

attempt to fix travis with clang

This commit is contained in:
Jfreegman 2014-08-05 00:16:01 -04:00
parent dc2d20f4c4
commit 637ea0ed55
No known key found for this signature in database
GPG Key ID: 3627F3144076AE63

View File

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