Skip to content

Commit 3b8ebd8

Browse files
author
stites
committed
use sudo:true to relieve OOM erros
1 parent 509cd32 commit 3b8ebd8

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.travis.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# named .travis.yml
1010

1111
# Use new container infrastructure to enable caching
12-
sudo: false
12+
sudo: true
1313

1414
# Choose a lightweight base image; we provide our own build tools.
1515
language: generic
@@ -87,6 +87,10 @@ matrix:
8787
compiler: ": #stack 8.0.1"
8888
addons: {apt: {packages: [libgmp-dev, libblas-dev, libatlas-dev, liblapack-dev]}}
8989

90+
- env: BUILD=stack ARGS="--resolver lts-9"
91+
compiler: ": #stack 8.0.1"
92+
addons: {apt: {packages: [libgmp-dev, libblas-dev, libatlas-dev, liblapack-dev]}}
93+
9094
# Nightly builds are allowed to fail
9195
- env: BUILD=stack ARGS="--resolver nightly"
9296
compiler: ": #stack nightly"
@@ -96,7 +100,6 @@ matrix:
96100
- env: BUILD=cabal GHCVER=7.8.4 CABALVER=1.18 HAPPYVER=1.19.5 ALEXVER=3.1.7
97101
- env: BUILD=cabal GHCVER=head CABALVER=head HAPPYVER=1.19.5 ALEXVER=3.1.7
98102
- env: BUILD=stack ARGS="--resolver nightly"
99-
- env: BUILD=stack ARGS="--resolver lts-7"
100103

101104
before_install:
102105
# Using compiler above sets CC to an invalid value, so unset it

0 commit comments

Comments
 (0)