@@ -1,23 +1,29 @@
2− - CABALVER=1.22 GHCVER=7.8.3 COVERAGE_SUITE=tests
3+ - GHCVER=7.8.3 COVERAGE_SUITE=tests
3− - CABALVER=1.22 GHCVER=7.8.3 COVERAGE_SUITE=psci-tests
4+ - GHCVER=7.8.3 COVERAGE_SUITE=psci-tests
4− - CABALVER=1.22 GHCVER=7.6.3
5+ - GHCVER=7.6.3
5− - CABALVER=1.22 GHCVER=7.10.1
6+ - GHCVER=7.10.1
6before_install:
7before_install:
7− - travis_retry sudo add-apt-repository -y ppa:hvr/ghc
8+ - export PATH="/opt/ghc/$GHCVER/bin:$PATH"
8− - travis_retry sudo apt-get update
9− - travis_retry sudo apt-get install cabal-install-$CABALVER ghc-$GHCVER
10− - export PATH="/opt/ghc/$GHCVER/bin:/opt/cabal/$CABALVER/bin:$HOME/.cabal/bin:$PATH"
9+ - export PATH="/opt/cabal/1.22/bin:$PATH"
10+ - export PATH="$HOME/.cabal/bin:$PATH"
11+ - export PATH="/opt/happy/1.19.5/bin:/$PATH"
12+ - export PATH="/opt/alex/3.1.4/bin:/$PATH"
12 - cabal --version
14 - cabal --version
13 - echo "$(ghc --version) [$(ghc --print-project-git-commit-id 2> /dev/null || echo '?')]"
15 - echo "$(ghc --version) [$(ghc --print-project-git-commit-id 2> /dev/null || echo '?')]"
14 - travis_retry cabal update
16 - travis_retry cabal update
15− - cabal install alex happy
17+ - cabal sandbox init
16− - cabal install --only-dependencies --enable-tests --enable-benchmarks
18+ - cabal install --only-dependencies --enable-tests
19+ - cabal install hpc-coveralls
18− - ./travis-script.sh
21+ - ./travis/configure.sh
24+ - ./travis/test-install.sh
19after_script:
25after_script:
20− - ./travis-after-script.sh
26+ - ./travis/after.sh
21notifications:
27notifications:
22 email: true
28 email: true
23before_deploy: "./bundle/build.sh linux64"
29before_deploy: "./bundle/build.sh linux64"
@@ -31,3 +37,18 @@ deploy:
32 all_branches: true
38 all_branches: true
33 tags: true
39 tags: true
54+ - ../install-test/.cabal-sandbox