[monitoring-plugins] travis-ci: Adding spwaspace to trusty env

Jan Wagner git at monitoring-plugins.org
Wed Oct 21 17:20:11 CEST 2015


 Module: monitoring-plugins
 Branch: maint-2.1
 Commit: b6744cf3b859b8a158fb01d0b2c233c2159e4509
 Author: Jan Wagner <waja at cyconet.org>
   Date: Wed Oct 21 16:05:25 2015 +0200
    URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=b6744cf

travis-ci: Adding spwaspace to trusty env

---

 .travis.yml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/.travis.yml b/.travis.yml
index fe8ab85..77e599e 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -10,6 +10,8 @@ before_install:
   - sudo [ $(ip addr show | grep "inet6 ::1" | wc -l) -lt "1" ] && sudo sed -i '/^::1/d' /etc/hosts
   # Trusty has running ntpd on localhost, but we don't like that for our tests
   - sudo killall -9 ntpd
+  # Trusty has no swap, lets create some
+  - sudo fallocate -l 20M /swapfile; sudo chmod 600 /swapfile; sudo mkswap /swapfile; sudo swapon /swapfile
   - sudo add-apt-repository -y ppa:waja/trusty-backports
   - sudo apt-get update -qq
   - sudo apt-get purge -qq gawk



More information about the Commits mailing list