2014-02-22 21:53:18 -05:00
|
|
|
language: c
|
2014-02-22 22:03:29 -05:00
|
|
|
install:
|
|
|
|
- sudo apt-get update
|
2014-06-01 17:42:10 -04:00
|
|
|
- sudo apt-get -y install libssl-dev libexpat1-dev libncursesw5-dev libglib2.0-dev libnotify-dev libcurl3-dev libxss-dev libotr2-dev
|
2014-02-22 22:03:29 -05:00
|
|
|
- git clone git://github.com/strophe/libstrophe.git
|
|
|
|
- cd libstrophe
|
2014-09-30 16:06:09 -04:00
|
|
|
- mkdir m4
|
2014-02-22 22:03:29 -05:00
|
|
|
- ./bootstrap.sh
|
2014-09-16 19:56:21 -04:00
|
|
|
- ./configure --prefix=/usr
|
2014-02-22 22:03:29 -05:00
|
|
|
- make
|
|
|
|
- sudo make install
|
|
|
|
- cd ..
|
|
|
|
- rm -rf libstrophe
|
2015-02-22 19:24:24 -05: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-22 22:17:25 -05:00
|
|
|
- mkdir build
|
|
|
|
- cd build
|
|
|
|
- cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debug ..
|
|
|
|
- make
|
|
|
|
- sudo make install
|
|
|
|
- cd ../..
|
2015-02-22 19:24:24 -05:00
|
|
|
- rm -rf cmocka-1.0.0
|
2014-02-22 22:03:29 -05:00
|
|
|
- ./bootstrap.sh
|
2014-02-22 22:08:02 -05:00
|
|
|
script: ./configure && make && make check
|