diff options
author | John MacFarlane <jgm@berkeley.edu> | 2017-08-22 09:39:36 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2017-08-22 09:39:36 -0700 |
commit | 761a61b53e836dab21a1229d982b12042c41d36e (patch) | |
tree | 31e418fde8140193926a8ccdf8455eda9d54e984 | |
parent | cefdc01a93d4085999e7fd121b141e33c1a2e1ad (diff) | |
download | pandoc-761a61b53e836dab21a1229d982b12042c41d36e.tar.gz |
Travis: shut down essential services and show memory.
Also after failure.
-rw-r--r-- | .travis.yml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml index 65414c85d..0c6d2a143 100644 --- a/.travis.yml +++ b/.travis.yml @@ -81,6 +81,21 @@ matrix: before_install: # Using compiler above sets CC to an invalid value, so unset it - unset CC +# shutdown servies on Travis, which may have a memory impact +# show memory usage before and after shutdown of services +- sudo service --status-all +- sudo free -m -t +- sudo /etc/init.d/mysql stop +- sudo /etc/init.d/postgresql stop +- sudo /etc/init.d/couchdb stop +- sudo /etc/init.d/redis-server stop +- sudo free -m -t + +after_failure: +# show memory usage again +- sudo free -m -t +# show actions of the OOM killer +- sudo dmesg # We want to always allow newer versions of packages when building on GHC HEAD - CABALARGS="" |