summaryrefslogtreecommitdiff
path: root/.travis.yml
blob: 9de4e2823d6aa5f74583672ec905a101ee433050 (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
language: c
compiler:
  - gcc
  - clang

before_script:
# installing libsodium, needed for Core
  - git clone git://github.com/jedisct1/libsodium.git
  - cd libsodium
  - git checkout tags/0.4.2
  - ./autogen.sh
  - ./configure && make check -j3
  - sudo make install
  - sudo ldconfig
  - cd ..
# installing libconfig, needed for DHT_bootstrap_daemon
  - sudo sed -i 's/precise/quantal/' /etc/apt/sources.list # needed for libconfig-dev
  - sudo apt-get update -qq
  - yes | sudo apt-get install libconfig-dev

script:
  - mkdir build && cd build
  - cmake ..
  - make -j3

notifications:
  email: false

  irc: 
    channels:
      - "chat.freenode.net#tox-dev"
    on_success: always
    on_failure: always