diff options
author | ailin-nemui <ailin-nemui@users.noreply.github.com> | 2018-03-29 22:41:12 +0200 |
---|---|---|
committer | ailin-nemui <ailin-nemui@users.noreply.github.com> | 2018-03-29 22:41:12 +0200 |
commit | 2830d91a89277052ee8e6978a41a7773c9fe5025 (patch) | |
tree | b50fb700cc6f8cab90995a4f4a3de9b68599958b | |
parent | a3b9e2370fd02eb6a400744e31d7db27c8fe92b8 (diff) | |
download | irssi-2830d91a89277052ee8e6978a41a7773c9fe5025.zip |
use precompiled libotr
-rw-r--r-- | .travis.yml | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/.travis.yml b/.travis.yml index a17cb3ec..30f9cc35 100644 --- a/.travis.yml +++ b/.travis.yml @@ -31,19 +31,16 @@ addons: before_install: - perl -V - - wget https://otr.cypherpunks.ca/libotr-4.1.1.tar.gz - - tar zxf libotr-*.tar.gz - - cd libotr-* - - ./configure --prefix $HOME/otr-prefix && make && make install - - cd .. - - ./autogen.sh --with-proxy --with-bot --with-perl=module --with-otr=yes --with-libotr-prefix=$HOME/otr-prefix/lib --with-libotr-inc-prefix=$HOME/otr-prefix/include + - wget https://github.com/irssi-import/libotr/releases/download/4.1.1/travis-trusty-libotr-4.1.1.tar.gz + - tar zxf travis-trusty-libotr*.tar.gz -C $HOME + - ./autogen.sh --with-proxy --with-bot --with-perl=module --with-otr=yes --with-libotr-prefix=$HOME/otr-build/lib --with-libotr-inc-prefix=$HOME/otr-build/include - make dist - cd .. - tar xaf */irssi-*.tar.* - cd irssi-* install: - - ./configure --with-proxy --with-bot --with-perl=module --with-otr=yes --with-libotr-prefix=$HOME/otr-prefix/lib --with-libotr-inc-prefix=$HOME/otr-prefix/include --prefix=$HOME/irssi-build + - ./configure --with-proxy --with-bot --with-perl=module --with-otr=yes --with-libotr-prefix=$HOME/otr-build/lib --with-libotr-inc-prefix=$HOME/otr-build/include --prefix=$HOME/irssi-build $( $UNITTESTS && echo --enable-always-build-tests ) - make CFLAGS="-Wall -Werror -Werror=declaration-after-statement" - make install |