summaryrefslogtreecommitdiff
path: root/tools/travis-ci.sh
blob: 8069717f0c00da6d510ca304477a2b748d72b7c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash
set -ev
if [ "$TRAVIS_OS_NAME" = "linux" ]
then
	sudo apt-get update --assume-yes
	sudo apt-get install --assume-yes libgnutls-dev libldap2-dev libmaxminddb-dev libmysqlclient-dev libpcre3-dev libpq-dev libsqlite3-dev libssl-dev libtre-dev
else
	>&2 echo "'$TRAVIS_OS_NAME' is an unknown Travis CI environment!"
	exit 1
fi
export TEST_BUILD_MODULES="m_geo_maxmind.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