1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-06-23 21:45:30 +00:00
profanity/.travis.yml
2014-06-03 23:50:47 +01:00

27 lines
952 B
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 autoconf-archive
- sudo apt-get -y install libtool python-dev lua5.2 liblua5.2-dev ruby-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/42/cmocka-0.4.1.tar.xz
- tar -xvf cmocka-0.4.1.tar.xz
- cd cmocka-0.4.1
- mkdir build
- cd build
- cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debug ..
- make
- sudo make install
- cd ../..
- rm -rf cmocka-0.4.1
- ./bootstrap.sh
- ruby test.rb
script: ./configure --enable-ruby-plugins --enable-python-plugins --enable-c-plugins --disable-lua-plugins && make && make check