diff options
author | Markus Frosch <markus.frosch@icinga.com> | 2018-11-06 11:32:52 +0100 |
---|---|---|
committer | Markus Frosch <markus.frosch@icinga.com> | 2018-11-06 12:33:24 +0100 |
commit | 198611a3c2bd89562af87d8bf0c7584fce1ce037 (patch) | |
tree | 44d15f8f27f38e5e6b60f49a9fa2eab2d266772b /.travis.yml | |
parent | d659f8d99faa0738be0ddcdb822f41e7f8c7f829 (diff) | |
download | monitoring-plugins-198611a3c2bd89562af87d8bf0c7584fce1ce037.tar.gz |
test: Add proxy tests via proxy
On Travis with a local squid
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index 617c4154..123e1783 100644 --- a/.travis.yml +++ b/.travis.yml | |||
@@ -55,6 +55,7 @@ install: | |||
55 | - sudo apt-get install -qq --no-install-recommends autoconf automake | 55 | - sudo apt-get install -qq --no-install-recommends autoconf automake |
56 | - sudo apt-get install -qq --no-install-recommends faketime | 56 | - sudo apt-get install -qq --no-install-recommends faketime |
57 | - sudo apt-get install -qq --no-install-recommends libmonitoring-plugin-perl | 57 | - sudo apt-get install -qq --no-install-recommends libmonitoring-plugin-perl |
58 | - sudo apt-get install -qq --no-install-recommends squid3 | ||
58 | # Trusty related dependencies (not yet provided) | 59 | # Trusty related dependencies (not yet provided) |
59 | - test "$(dpkg -l | grep -E "mysql-(client|server)-[0-9].[0-9]" | grep -c ^ii)" -gt 0 || sudo apt-get install -qq --no-install-recommends mariadb-client mariadb-server | 60 | - test "$(dpkg -l | grep -E "mysql-(client|server)-[0-9].[0-9]" | grep -c ^ii)" -gt 0 || sudo apt-get install -qq --no-install-recommends mariadb-client mariadb-server |
60 | # enable ssl apache | 61 | # enable ssl apache |
@@ -62,6 +63,8 @@ install: | |||
62 | - sudo a2ensite default-ssl | 63 | - sudo a2ensite default-ssl |
63 | - sudo make-ssl-cert generate-default-snakeoil --force-overwrite | 64 | - sudo make-ssl-cert generate-default-snakeoil --force-overwrite |
64 | - sudo service apache2 reload | 65 | - sudo service apache2 reload |
66 | - sudo cp tools/squid.conf /etc/squid3/squid.conf | ||
67 | - sudo service squid3 reload | ||
65 | 68 | ||
66 | before_script: | 69 | before_script: |
67 | # ensure we have a test database in place for tests | 70 | # ensure we have a test database in place for tests |
@@ -93,4 +96,3 @@ notifications: | |||
93 | skip_join: true | 96 | skip_join: true |
94 | email: | 97 | email: |
95 | # - team@monitoring-plugins.org | 98 | # - team@monitoring-plugins.org |
96 | |||