1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-09-22 19:45:54 -04:00
profanity/.travis.yml
2014-02-23 04:23:52 +00:00

32 lines
1.1 KiB
YAML

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
- sudo dpkg --get-selections | grep ruby
- sudo dpkg --get-selections | grep lua
- sudo apt-get remove ruby1.9.1 ruby1.9.3 libruby1.9.1 ruby
- sudo apt-get -y install autoconf-archive python-dev ruby1.8-dev libruby1.8 liblualib50 liblua50 lua5.1 liblua5.1-0
- sudo dpkg --get-selections | grep ruby
- sudo dpkg --get-selections | grep lua
- ./bootstrap.sh
- 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 --disable-ruby-plugins && make && make check