gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnurl] 55/116: travis: add a job with brotli enabled


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 55/116: travis: add a job with brotli enabled
Date: Tue, 05 Dec 2017 14:51:25 +0100

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to branch master
in repository gnurl.

commit c675c40295045d4988eeb6291c54eb48f138822f
Author: Patrick Monnerat <address@hidden>
AuthorDate: Sun Nov 5 15:38:17 2017 +0100

    travis: add a job with brotli enabled
---
 .travis.yml | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/.travis.yml b/.travis.yml
index 76b26db94..8db95272f 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -35,6 +35,10 @@ matrix:
           dist: trusty
           env: T=normal C=--enable-ares
         - os: linux
+          compiler: gcc
+          dist: trusty
+          env: T=normal BROTLI=yes
+        - os: linux
           compiler: clang
           dist: trusty
           env: T=debug
@@ -90,6 +94,20 @@ install:
 
 before_script:
     - ./buildconf
+    - |
+      # No brotli package available for Trusty. Download & compile from source.
+      # Cannot be done in the install script because cmake is needed.
+          if [ "$TRAVIS_OS_NAME" = linux -a "$BROTLI" ]; then
+          curl -L https://github.com/google/brotli/archive/v1.0.1.tar.gz |
+              tar xzf - &&
+              (
+                  cd brotli-1.0.1 &&
+                  cmake . -DCMAKE_INSTALL_PREFIX=/usr \
+                          -DCMAKE_INSTALL_LIBDIR=/usr/lib &&
+                  make &&
+                  sudo make install
+              )
+          fi
 
 script:
     - |

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]