diff options
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml index cec78786..c892eb21 100644 --- a/.travis.yml +++ b/.travis.yml | |||
@@ -4,16 +4,20 @@ before_install: | |||
4 | - sudo add-apt-repository -y ppa:waja/precise-backports | 4 | - sudo add-apt-repository -y ppa:waja/precise-backports |
5 | - sudo apt-get update -qq | 5 | - sudo apt-get update -qq |
6 | - sudo apt-get purge -qq gawk | 6 | - sudo apt-get purge -qq gawk |
7 | # ensure we have a test database in place for tests | ||
8 | - mysql -e "create database IF NOT EXISTS test;" -uroot | ||
7 | 9 | ||
8 | install: | 10 | install: |
9 | - sudo apt-get install -qq --no-install-recommends perl autotools-dev libdbi-dev libldap2-dev libpq-dev libmysqlclient-dev libfreeradius-client-dev libkrb5-dev libnet-snmp-perl procps | 11 | - sudo apt-get install -qq --no-install-recommends perl autotools-dev libdbi-dev libldap2-dev libpq-dev libmysqlclient-dev libfreeradius-client-dev libkrb5-dev libnet-snmp-perl procps |
10 | - sudo apt-get install -qq --no-install-recommends libdbi0-dev libdbd-sqlite3 libssl-dev dnsutils snmp-mibs-downloader | 12 | - sudo apt-get install -qq --no-install-recommends libdbi0-dev libdbd-sqlite3 libssl-dev dnsutils snmp-mibs-downloader libsnmp-perl snmpd |
11 | - sudo apt-get install -qq --no-install-recommends fping snmp netcat smbclient fping pure-ftpd apache2 postfix libhttp-daemon-ssl-perl | 13 | - sudo apt-get install -qq --no-install-recommends fping snmp netcat smbclient fping pure-ftpd apache2 postfix libhttp-daemon-ssl-perl |
14 | - sudo apt-get install -qq --no-install-recommends slapd ldap-utils | ||
12 | - sudo apt-get install -qq --no-install-recommends autoconf automake | 15 | - sudo apt-get install -qq --no-install-recommends autoconf automake |
16 | - sudo apt-get install -qq --no-install-recommends faketime | ||
13 | 17 | ||
14 | before_script: | 18 | before_script: |
15 | - tools/setup | 19 | - tools/setup |
16 | - ./configure | 20 | - ./configure --enable-libtap |
17 | - make | 21 | - make |
18 | - export NPTEST_CACHE="$(pwd)/plugins/t/NPTest.cache.travis" | 22 | - export NPTEST_CACHE="$(pwd)/plugins/t/NPTest.cache.travis" |
19 | - ssh-keygen -t dsa -N "" -f ~/.ssh/id_dsa | 23 | - ssh-keygen -t dsa -N "" -f ~/.ssh/id_dsa |