[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnurl] 71/178: travis: build libpsl and make builds use it
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnurl] 71/178: travis: build libpsl and make builds use it |
Date: |
Wed, 23 May 2018 12:25:06 +0200 |
This is an automated email from the git hooks/post-receive script.
ng0 pushed a commit to branch master
in repository gnurl.
commit 249a7c9dace583d6680044d2bd3064d1e9970c8c
Author: Daniel Stenberg <address@hidden>
AuthorDate: Mon Apr 9 00:11:04 2018 +0200
travis: build libpsl and make builds use it
closes #2471
---
.travis.yml | 74 +++++++++++++++++++++++++++++++++++++++++++++++--------------
1 file changed, 57 insertions(+), 17 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index 428279cc9..30eb118eb 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,5 +1,14 @@
language: c
sudo: required
+cache:
+ directories:
+ - $HOME/libpsl-0.20.1
+ - $HOME/libidn2-2.0.4
+
+env:
+ global:
+ - LD_LIBRARY_PATH=/usr/local/lib
+
addons:
apt:
config:
@@ -22,6 +31,8 @@ addons:
- libssh2-1-dev
- libssh-dev
- krb5-user
+ - autopoint # for libpsl that needs autoreconf that uses gettext
that needs it
+ - libunistring-dev # for libidn2 neeed by libpsl
matrix:
include:
@@ -48,7 +59,7 @@ matrix:
- os: linux
compiler: gcc
dist: trusty
- env: T=novalgrind BORINGSSL=yes -C="--with-ssl=$HOME/boringssl"
LD_LIBRARY_PATH=/home/travis/boringssl/lib
+ env: T=novalgrind BORINGSSL=yes -C="--with-ssl=$HOME/boringssl"
LD_LIBRARY_PATH=/home/travis/boringssl/lib:/usr/local/lib
- os: linux
compiler: clang
dist: trusty
@@ -123,22 +134,51 @@ before_script:
sudo make install
)
fi
- if [ "$TRAVIS_OS_NAME" = linux -a "$BORINGSSL" ]; then
- (cd $HOME &&
- git clone --depth=1 https://boringssl.googlesource.com/boringssl &&
- cd boringssl &&
- mkdir build &&
- cd build &&
- cmake -DCMAKE_BUILD_TYPE=release -DBUILD_SHARED_LIBS=1 .. &&
- make &&
- cd .. &&
- mkdir lib &&
- cd lib &&
- ln -s ../build/crypto/libcrypto.so . &&
- ln -s ../build/ssl/libssl.so . &&
- echo "BoringSSL lib dir: "`pwd` &&
- export LIBS=-lpthread )
- fi
+ - |
+ if [ "$TRAVIS_OS_NAME" = linux -a "$BORINGSSL" ]; then
+ (cd $HOME &&
+ git clone --depth=1 https://boringssl.googlesource.com/boringssl &&
+ cd boringssl &&
+ mkdir build &&
+ cd build &&
+ cmake -DCMAKE_BUILD_TYPE=release -DBUILD_SHARED_LIBS=1 .. &&
+ make &&
+ cd .. &&
+ mkdir lib &&
+ cd lib &&
+ ln -s ../build/crypto/libcrypto.so . &&
+ ln -s ../build/ssl/libssl.so . &&
+ echo "BoringSSL lib dir: "`pwd` &&
+ export LIBS=-lpthread )
+ fi
+ - |
+ if [ $TRAVIS_OS_NAME = linux ]; then
+ if [ ! -e $HOME/libidn2-2.0.4/Makefile ]; then
+ (cd $HOME && \
+ curl -LO https://ftp.gnu.org/gnu/libidn/libidn2-2.0.4.tar.gz && \
+ tar -xzf libidn2-2.0.4.tar.gz && \
+ cd libidn2-2.0.4 && \
+ ./configure && \
+ make)
+ fi
+ fi
+ - |
+ if [ $TRAVIS_OS_NAME = linux ]; then
+ if [ ! -e $HOME/libpsl-0.20.1/Makefile ]; then
+ (cd $HOME && \
+ curl -LO
https://github.com/rockdaboot/libpsl/releases/download/libpsl-0.20.1/libpsl-0.20.1.tar.gz
&& \
+ tar -xzf libpsl-0.20.1.tar.gz && \
+ cd libpsl-0.20.1 && \
+ autoreconf -i && \
+ ./configure && \
+ make)
+ fi
+ fi
+ - |
+ if [ $TRAVIS_OS_NAME = linux ]; then
+ (cd $HOME/libidn2-2.0.4 && sudo make install)
+ (cd $HOME/libpsl-0.20.1 && sudo make install)
+ fi
script:
- |
--
To stop receiving notification emails like this one, please contact
address@hidden
- [GNUnet-SVN] [gnurl] 100/178: Revert "ftplistparser: keep state between invokes", (continued)
- [GNUnet-SVN] [gnurl] 100/178: Revert "ftplistparser: keep state between invokes", gnunet, 2018/05/23
- [GNUnet-SVN] [gnurl] 103/178: curl.1: clarify that options and URLs can be mixed, gnunet, 2018/05/23
- [GNUnet-SVN] [gnurl] 119/178: RELEASE-NOTES: synced, gnunet, 2018/05/23
- [GNUnet-SVN] [gnurl] 114/178: ctype: restore character classification for non-ASCII platforms, gnunet, 2018/05/23
- [GNUnet-SVN] [gnurl] 115/178: mime: avoid NULL pointer dereference risk, gnunet, 2018/05/23
- [GNUnet-SVN] [gnurl] 129/178: TODO: Support the clienthello extension, gnunet, 2018/05/23
- [GNUnet-SVN] [gnurl] 131/178: KNOWN_BUGS: Connection information when using TCP Fast Open, gnunet, 2018/05/23
- [GNUnet-SVN] [gnurl] 136/178: wolfssl: Fix non-blocking connect, gnunet, 2018/05/23
- [GNUnet-SVN] [gnurl] 76/178: checksrc: Fix typo, gnunet, 2018/05/23
- [GNUnet-SVN] [gnurl] 63/178: examples/sftpuploadresmue: Fix Windows large file seek, gnunet, 2018/05/23
- [GNUnet-SVN] [gnurl] 71/178: travis: build libpsl and make builds use it,
gnunet <=
- [GNUnet-SVN] [gnurl] 78/178: vauth: Fix typo, gnunet, 2018/05/23
- [GNUnet-SVN] [gnurl] 81/178: urldata: make service names unconditional, gnunet, 2018/05/23
- [GNUnet-SVN] [gnurl] 67/178: winbuild: fix URL, gnunet, 2018/05/23
- [GNUnet-SVN] [gnurl] 72/178: proxy: show getenv proxy use in verbose output, gnunet, 2018/05/23
- [GNUnet-SVN] [gnurl] 87/178: RELEASE-NOTES: synced, gnunet, 2018/05/23
- [GNUnet-SVN] [gnurl] 91/178: http2: handle on_begin_headers() called more than once, gnunet, 2018/05/23
- [GNUnet-SVN] [gnurl] 120/178: configure: provide --with-wolfssl as an alias for --with-cyassl, gnunet, 2018/05/23
- [GNUnet-SVN] [gnurl] 75/178: all: Refactor malloc+memset to use calloc, gnunet, 2018/05/23
- [GNUnet-SVN] [gnurl] 83/178: ntlm_sspi: fix authentication using Credential Manager, gnunet, 2018/05/23
- [GNUnet-SVN] [gnurl] 111/178: examples/sftpuploadresume: typecast fseek argument to long, gnunet, 2018/05/23