.travis.yml 709 Bytes
Newer Older
quchen's avatar
quchen committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
sudo: false

matrix:
  include:
    - env: CABALVER=1.22 GHCVER=7.10.3
      addons: {apt: {packages: [cabal-install-1.22,ghc-7.10.3,zlib1g-dev,terminfo-dev],  sources: [hvr-ghc]}}

before_install:

    - PATH="$HOME/.cabal/bin:$PATH"
    - PATH="/opt/ghc/$GHCVER/bin:$PATH"
    - PATH="/opt/cabal/$CABALVER/bin:$PATH"
    - export PATH

    - .travis/print-env.sh

install:
    - .travis/install-cabal-happy-alex.sh
    - .travis/install-ghc.sh
    - .travis/install-ghc-shake.sh

script:
    - .travis/run-ghc-shake.sh

cache:
    directories:
        - $HOME/.cabal
        # - ghc/shake-build/.cabal-sandbox
        # - ghc/shake-build/cabal.sandbox.config

# before_cache:
#     - rm -rf ghc/shake-build