Merge pull request #93 from quchen/travis-ci
[ghc.git] / .travis.yml
1 sudo: false
2
3 matrix:
4   include:
5     - env: CABALVER=1.22 GHCVER=7.10.3
6       addons: {apt: {packages: [cabal-install-1.22,ghc-7.10.3,zlib1g-dev,terminfo-dev],  sources: [hvr-ghc]}}
7
8 before_install:
9
10     - PATH="$HOME/.cabal/bin:$PATH"
11     - PATH="/opt/ghc/$GHCVER/bin:$PATH"
12     - PATH="/opt/cabal/$CABALVER/bin:$PATH"
13     - export PATH
14
15     - .travis/print-env.sh
16
17 install:
18     - .travis/install-cabal-happy-alex.sh
19     - .travis/install-ghc.sh
20     - .travis/install-ghc-shake.sh
21
22 script:
23     - .travis/run-ghc-shake.sh
24
25 cache:
26     directories:
27         - $HOME/.cabal
28         # - ghc/shake-build/.cabal-sandbox
29         # - ghc/shake-build/cabal.sandbox.config
30
31 # before_cache:
32 #     - rm -rf ghc/shake-build