summaryrefslogtreecommitdiff
path: root/tools/travis-ci.sh
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2016-09-16 10:55:58 +0200
committerGitHub <noreply@github.com>2016-09-16 10:55:58 +0200
commitd8a41d73a329b72a7d997a1808007f5de38b68d7 (patch)
tree774711e431feb32f928676431a588a0e71c25d92 /tools/travis-ci.sh
parent05953e35b03a8136f5906e0add89412f02bfca36 (diff)
parentfb029add367bde0b8cb7b719034a39429e59c64c (diff)
Merge pull request #1223 from SaberUK/master+travis
Speed up Travis builds.
Diffstat (limited to 'tools/travis-ci.sh')
-rwxr-xr-xtools/travis-ci.sh8
1 files changed, 1 insertions, 7 deletions
diff --git a/tools/travis-ci.sh b/tools/travis-ci.sh
index 521d91e38..bb32e19a1 100755
--- a/tools/travis-ci.sh
+++ b/tools/travis-ci.sh
@@ -1,18 +1,12 @@
#!/bin/bash
-set -v
+set -ev
if [ "$TRAVIS_OS_NAME" = "linux" ]
then
sudo apt-get update --assume-yes
sudo apt-get install --assume-yes libgeoip-dev libgnutls-dev libldap2-dev libmysqlclient-dev libpcre3-dev libpq-dev libsqlite3-dev libssl-dev libtre-dev
-elif [ "$TRAVIS_OS_NAME" = "osx" ]
-then
- brew update
- brew install geoip gnutls mysql-connector-c openssl pcre postgresql sqlite3 tre
- brew link sqlite3 --force
else
>&2 echo "'$TRAVIS_OS_NAME' is an unknown Travis CI environment!"
exit 1
fi
-set -e
export TEST_BUILD_MODULES="m_geoip.cpp,m_ldap.cpp,m_mysql.cpp,m_pgsql.cpp,m_regex_pcre.cpp,m_regex_posix.cpp,m_regex_tre.cpp,m_sqlite3.cpp,m_ssl_gnutls.cpp,m_ssl_openssl.cpp"
./tools/test-build $CXX