Skip to content
This repository has been archived by the owner on Aug 2, 2020. It is now read-only.

Commit

Permalink
update GHC versions used on travis
Browse files Browse the repository at this point in the history
I saw that (nightly) travis builds are failing because we now only support 8.4 or higher to boot a GHC HEAD build. I don't know how to achieve this for the OS X section though.
  • Loading branch information
alpmestan committed Oct 9, 2018
1 parent 5e432d4 commit 051564b
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions .travis.yml
Expand Up @@ -3,56 +3,56 @@ matrix:
include:
- os: linux
env: MODE="selftest"
compiler: "GHC 8.2.2"
compiler: "GHC 8.4.3"
addons:
apt:
packages:
- ghc-8.2.2
- cabal-install-2.2
- ghc-8.4.3
- cabal-install-2.4
- zlib1g-dev
sources: hvr-ghc

before_install:
- PATH="/opt/ghc/8.2.2/bin:$PATH"
- PATH="/opt/cabal/2.2/bin:$PATH"
- PATH="/opt/ghc/8.4.3/bin:$PATH"
- PATH="/opt/cabal/2.4/bin:$PATH"

script:
# Run internal Hadrian tests, after boot and configure.
- hadrian/build.sh -c selftest

- os: linux
env: MODE="--flavour=quickest"
compiler: "GHC 8.2.2"
compiler: "GHC 8.4.3"
addons:
apt:
packages:
- ghc-8.2.2
- cabal-install-2.2
- ghc-8.4.3
- cabal-install-2.4
- zlib1g-dev
sources: hvr-ghc

before_install:
- PATH="/opt/ghc/8.2.2/bin:$PATH"
- PATH="/opt/cabal/2.2/bin:$PATH"
- PATH="/opt/ghc/8.4.3/bin:$PATH"
- PATH="/opt/cabal/2.4/bin:$PATH"

script:
# Build GHC, letting hadrian boot & configure the ghc source tree
- hadrian/build.sh -c -j $MODE --no-progress --progress-colour=never --profile=-

- os: linux
env: MODE="--flavour=quickest --integer-simple"
compiler: "GHC 8.4.1"
compiler: "GHC 8.6.1"
addons:
apt:
packages:
- ghc-8.4.1
- cabal-install-2.2
- ghc-8.6.1
- cabal-install-2.4
- zlib1g-dev
sources: hvr-ghc

before_install:
- PATH="/opt/ghc/8.4.1/bin:$PATH"
- PATH="/opt/cabal/2.2/bin:$PATH"
- PATH="/opt/ghc/8.6.1/bin:$PATH"
- PATH="/opt/cabal/2.4/bin:$PATH"

script:
# boot, configure and build GHC
Expand Down

0 comments on commit 051564b

Please sign in to comment.