2014-02-23 02:53:18 +00:00
|
|
|
language: c
|
2014-02-23 03:03:29 +00:00
|
|
|
install:
|
|
|
|
- sudo apt-get update
|
2015-04-12 00:04:37 +01:00
|
|
|
- sudo apt-get -y install libssl-dev libexpat1-dev libncursesw5-dev libglib2.0-dev libnotify-dev libcurl3-dev libxss-dev libotr2-dev libgpgme11-dev uuid-dev
|
2014-02-23 03:03:29 +00:00
|
|
|
- git clone git://github.com/strophe/libstrophe.git
|
|
|
|
- cd libstrophe
|
2014-09-30 21:06:09 +01:00
|
|
|
- mkdir m4
|
2014-02-23 03:03:29 +00:00
|
|
|
- ./bootstrap.sh
|
2014-09-17 00:56:21 +01:00
|
|
|
- ./configure --prefix=/usr
|
2014-02-23 03:03:29 +00:00
|
|
|
- make
|
|
|
|
- sudo make install
|
|
|
|
- cd ..
|
|
|
|
- rm -rf libstrophe
|
2015-02-23 00:24:24 +00:00
|
|
|
- wget https://cmocka.org/files/1.0/cmocka-1.0.0.tar.xz
|
|
|
|
- tar -xvf cmocka-1.0.0.tar.xz
|
|
|
|
- cd cmocka-1.0.0
|
2014-02-23 03:17:25 +00:00
|
|
|
- mkdir build
|
|
|
|
- cd build
|
|
|
|
- cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debug ..
|
|
|
|
- make
|
|
|
|
- sudo make install
|
|
|
|
- cd ../..
|
2015-02-23 00:24:24 +00:00
|
|
|
- rm -rf cmocka-1.0.0
|
2014-02-23 03:03:29 +00:00
|
|
|
- ./bootstrap.sh
|
2014-02-23 03:08:02 +00:00
|
|
|
script: ./configure && make && make check
|