2014-02-22 21:53:18 -05:00
|
|
|
language: c
|
2014-02-22 22:03:29 -05:00
|
|
|
install:
|
|
|
|
- sudo apt-get update
|
2014-05-21 16:03:07 -04:00
|
|
|
- sudo apt-get -y install libssl-dev libexpat1-dev libncursesw5-dev libglib2.0-dev libnotify-dev libcurl3-dev libxss-dev libotr2-dev autoconf-archive libgcrypt11-dev
|
2014-02-22 22:03:29 -05:00
|
|
|
- git clone git://github.com/strophe/libstrophe.git
|
|
|
|
- cd libstrophe
|
|
|
|
- ./bootstrap.sh
|
|
|
|
- ./configure
|
|
|
|
- make
|
|
|
|
- sudo make install
|
|
|
|
- cd ..
|
|
|
|
- rm -rf libstrophe
|
2014-05-25 20:05:19 -04:00
|
|
|
- wget https://open.cryptomilk.org/attachments/download/42/cmocka-0.4.1.tar.xz
|
|
|
|
- tar -xvf cmocka-0.4.1.tar.xz
|
|
|
|
- cd cmocka-0.4.1
|
2014-02-22 22:17:25 -05:00
|
|
|
- mkdir build
|
|
|
|
- cd build
|
|
|
|
- cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debug ..
|
|
|
|
- make
|
|
|
|
- sudo make install
|
|
|
|
- cd ../..
|
2014-05-25 20:05:19 -04:00
|
|
|
- rm -rf cmocka-0.4.1
|
2014-02-22 22:03:29 -05:00
|
|
|
- ./bootstrap.sh
|
2014-02-22 22:08:02 -05:00
|
|
|
script: ./configure && make && make check
|