Skip to content

Commit

Permalink
Travis: Add more reliability, I hope
Browse files Browse the repository at this point in the history
  • Loading branch information
nomeata committed Jan 9, 2018
1 parent 1e0c284 commit 751462c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@ before_install:
- test -z "$STACK" || { travis_retry curl -L https://www.stackage.org/stack/linux-x86_64 | tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack' ; }
# stack needs cabal :-(
- test -z "$STACK" || sudo add-apt-repository -y ppa:hvr/ghc
- test -z "$STACK" || travis_retry sudo apt-get update
- test -z "$STACK" || travis_retry sudo apt-get install cabal-install-1.24
- test -z "$STACK" || travis_retry sudo bash -c "apt-get update; apt-get install cabal-install-1.24"
- test -z "$STACK" || export PATH=/opt/cabal/1.24/bin:$PATH

- export PATH=/opt/ghc/$GHCVER/bin:/opt/cabal/$CABALVER/bin:$PATH
Expand Down

0 comments on commit 751462c

Please sign in to comment.