on master help sign in
Try using sudo: false (learned from commercialhaskell/stack#458)
87db240Michael Snoyman
.travis.yml+10−6
@@ -1,12 +1,16 @@
1−env:
1+sudo: false
2− - CABALVER=1.22 GHCVER=7.10.1
2+
3+addons:
4+ apt:
5+ sources:
6+ - hvr-ghc
7+ packages:
8+ - ghc-7.10.1
9+ - cabal-install-1.22
3
10
4# Note: the distinction between `before_install` and `install` is not important.
11# Note: the distinction between `before_install` and `install` is not important.
5before_install:
12before_install:
6− - travis_retry sudo add-apt-repository -y ppa:hvr/ghc
7− - travis_retry sudo apt-get update
8− - travis_retry sudo apt-get install cabal-install-$CABALVER ghc-$GHCVER # see note about happy/alex
9− - export PATH=/opt/ghc/$GHCVER/bin:/opt/cabal/$CABALVER/bin:$PATH
13+ - export PATH=/opt/ghc/7.10.1/bin:/opt/cabal/1.22/bin:$PATH
10
14
11install:
15install:
12 - cabal --version
16 - cabal --version