mirror of
https://github.com/commercialhaskell/stackage.git
synced 2026-01-11 23:08:30 +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:
|
||||
- CABALVER=1.22 GHCVER=7.10.1
|
||||
sudo: false
|
||||
|
||||
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.
|
||||
before_install:
|
||||
- travis_retry sudo add-apt-repository -y ppa:hvr/ghc
|
||||
- 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
|
||||
- export PATH=/opt/ghc/7.10.1/bin:/opt/cabal/1.22/bin:$PATH
|
||||
|
||||
install:
|
||||
- cabal --version
|
||||
|
||||
Loading…
Reference in New Issue
Block a user