6 env: CABALVER=1.22 GHCVER=7.10.3
17 - PATH="/opt/ghc/$GHCVER/bin:$PATH"
18 - PATH="/opt/cabal/$CABALVER/bin:$PATH"
19 - PATH="$HOME/.cabal/bin:$PATH"
26 - brew install ghc cabal-install
28 - cabal install alex happy
29 - PATH="$HOME/.cabal/bin:$PATH"
41 - travis_retry git clone git://git.haskell.org/ghc --recurse-submodules
43 # Travis clones the project into ".", but we need it as a child directory
44 # of "ghc/". For this reason, we - rather hackily - move the GHC-Shake
45 # ".git" directory into the appropriate location, and perform a hard reset
46 # in order to regenerate the GHC-Shake files.
47 - mkdir ghc/shake-build
48 - mv .git ghc/shake-build
49 - ( cd ghc/shake-build && git reset --hard HEAD )
51 - ( cd ghc/shake-build && cabal install --only-dependencies )
53 - ( cd ghc && ./boot )
54 - if [ $TRAVIS_OS_NAME == osx ]; then ( cd ghc && ./configure --with-gcc="$(which clang)"); fi
55 - if [ $TRAVIS_OS_NAME == linux ]; then ( cd ghc && ./configure ); fi
58 - ./ghc/shake-build/build.sh -j --no-progress
67 on_success: always # always/never/change
70 - "chat.freenode.net#shaking-up-ghc"
72 - "#%{build_number} finished in %{duration}. %{message}"
73 - "Repo: %{repository_slug}, branch: %{branch}"
74 - "%{author}: %{commit_subject}"
75 - "Build details: %{build_url}"