aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Jan Wagner <waja@cyconet.org> 2015-10-21 16:05:25 +0200
committerGravatar Jan Wagner <waja@cyconet.org> 2015-10-21 16:33:59 +0200
commit5e7cdfd08c2feaba9a48857646fb0297748b395f (patch)
tree4de1eb41a28cef7fadbea032f3d2e305d0f9bd58
parenteffa67b8cc6560815243180e274f2792ee6649d5 (diff)
downloadmonitoring-plugins-5e7cdfd08c2feaba9a48857646fb0297748b395f.tar.gz
travis-ci: Adding spwaspace to trusty env
-rw-r--r--.travis.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 183fde9c..29290fd1 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