toxcore/.travis.yml
Maxim Biro e4f86e2485 Update Travis script
Reduces the running time from about 8 minutes to about 5, as it uses
packaged libraries instead of building them. This is possible because
of the Ubuntu Trusty becoming available on Travis. The new check that
is in Trusty has different behaviour than the previously user version
of it -- it doesn't output the detailed result of tests. To fix this
we cat a file where this detailed result is stored.
2016-01-24 01:38:20 -05:00

38 lines
803 B
YAML

sudo: required
dist: trusty
language: c
compiler:
- gcc
- clang
before_script:
- sudo apt-get update -qq
- sudo apt-get install libconfig-dev libvpx-dev libopus-dev check -qq
# install sodium, as it's not in Ubuntu Trusty
- git clone git://github.com/jedisct1/libsodium.git > /dev/null
- cd libsodium
- git checkout tags/1.0.8 > /dev/null
- ./autogen.sh > /dev/null
- ./configure > /dev/null
- make -j3 >/dev/null
- sudo make install >/dev/null
- cd ..
- sudo ldconfig
script:
- ./autogen.sh
- CFLAGS="-Ofast -Wall -Wextra" ./configure --enable-daemon --enable-ntox
- make
- make check
- cat build/test-suite.log
- make dist
notifications:
email: false
irc:
channels:
- "chat.freenode.net#tox-dev"
on_success: always
on_failure: always