about summary refs log tree commit diff stats
path: root/.travis.yml
blob: 97822760adff83b08673b74c34b16d71b6b74076 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
language: c
install:
    - sudo apt-get update
    - sudo apt-get -y install libssl-dev libexpat1-dev libncursesw5-dev libglib2.0-dev libnotify-dev libcurl3-dev libxss-dev libotr2-dev
    - git clone git://github.com/strophe/libstrophe.git
    - cd libstrophe
    - ./bootstrap.sh
    - ./configure
    - make
    - sudo make install
    - cd ..
    - rm -rf libstrophe
    - wget https://open.cryptomilk.org/attachments/download/34/cmocka-0.3.2.tar.xz
    - tar -xvf cmocka-0.3.2.tar.xz
    - cd cmocka-0.3.2
    - mkdir build
    - cd build
    - cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debug ..
    - make
    - sudo make install
    - cd ../..
    - rm -rf cmocka-0.3.2
    - ./bootstrap.sh
script: ./configure && make && make check