summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorKosyrev Serge <_deepfire@feelingofgreen.ru>2017-03-24 01:39:45 +0300
committerKosyrev Serge <_deepfire@feelingofgreen.ru>2017-03-24 16:24:31 +0300
commit67c44decc8605262605a9f2ac2c936706781e7d4 (patch)
treee3caae214d2f2f339f4e36ea68dac75e3eb4e314 /.travis.yml
parentd6e2366b1cd97d4cdcc5c84a361bc8533dd6c063 (diff)
travis: sudo: true, to gain 4G of RAM, as per @domenkozar suggestion to fix #24200
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index bed82810d469..7474cce72727 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,4 +1,10 @@
language: nix
+sudo: true
+# 'sudo: false' == containers that start fast, but only get 4G ram;
+# 'sudo: true' == VMs that start slow, but with 8G
+# ..as per: https://docs.travis-ci.com/user/ci-environment/#Virtualization-environments
+# Nixpkgs PR tests OOM with 4G: https://github.com/NixOS/nixpkgs/issues/24200
+
matrix:
include:
- os: linux