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

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


 Module: monitoring-plugins
 Branch: master
 Commit: 5e7cdfd08c2feaba9a48857646fb0297748b395f
 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=5e7cdfd

travis-ci: Adding spwaspace to trusty env

---

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

diff --git a/.travis.yml b/.travis.yml
index 183fde9..29290fd 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