summaryrefslogtreecommitdiff
path: root/.travis.yml
blob: a4dbc7a0f51e4abb6085780e240032357295d8ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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