Skip to content

Commit

Permalink
CI: compile with libsodium, use distcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
jedisct1 committed Jan 21, 2017
1 parent b0a401f commit 86c6b61
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
9 changes: 9 additions & 0 deletions .travis-libsodium.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#! /bin/sh

set -e

git clone https://github.com/jedisct1/libsodium.git --branch=stable
cd libsodium
./configure --disable-dependency-tracking --enable-minimal --prefix=/usr
make -j$(nproc) install
/sbin/ldconfig ||:
7 changes: 6 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
language: c

compiler:
- clang
- gcc

before_script:
- sudo apt-get install libldap2-dev libmysqlclient-dev libpq-dev libssl-dev
- ./.travis-libsodium.sh
- ./autogen.sh
- ./configure --disable-dependency-tracking --with-everything --with-ldap --with-mysql --with-pgsql --with-tls --with-rfc2640
script: make check

script:
- make -j$(nproc) distcheck

0 comments on commit 86c6b61

Please sign in to comment.