mirror of
https://github.com/commercialhaskell/stackage.git
synced 2026-01-23 04:31:57 +01:00
Try using sudo: false (learned from commercialhaskell/stack#458)
This commit is contained in:
parent
e05a9218eb
commit
87db240bca
16
.travis.yml
16
.travis.yml
@ -1,12 +1,16 @@
|
|||||||
env:
|
sudo: false
|
||||||
- CABALVER=1.22 GHCVER=7.10.1
|
|
||||||
|
addons:
|
||||||
|
apt:
|
||||||
|
sources:
|
||||||
|
- hvr-ghc
|
||||||
|
packages:
|
||||||
|
- ghc-7.10.1
|
||||||
|
- cabal-install-1.22
|
||||||
|
|
||||||
# Note: the distinction between `before_install` and `install` is not important.
|
# Note: the distinction between `before_install` and `install` is not important.
|
||||||
before_install:
|
before_install:
|
||||||
- travis_retry sudo add-apt-repository -y ppa:hvr/ghc
|
- export PATH=/opt/ghc/7.10.1/bin:/opt/cabal/1.22/bin:$PATH
|
||||||
- travis_retry sudo apt-get update
|
|
||||||
- travis_retry sudo apt-get install cabal-install-$CABALVER ghc-$GHCVER # see note about happy/alex
|
|
||||||
- export PATH=/opt/ghc/$GHCVER/bin:/opt/cabal/$CABALVER/bin:$PATH
|
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- cabal --version
|
- cabal --version
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user