git.iko.soy/rowtype-yoga/purescript-native
on golang help sign in
Merge pull request #1355 from phadej/travis-stackage
a2c3125Phil Freeman
.travis.yml+9−3
@@ -1,9 +1,12 @@
1sudo: false
1sudo: false
2env:
2env:
3− - GHCVER=7.8.3 COVERAGE_SUITE=tests
3+ - GHCVER=7.8.4 COVERAGE_SUITE=tests
4− - GHCVER=7.8.3 COVERAGE_SUITE=psci-tests
4+ - GHCVER=7.8.4 COVERAGE_SUITE=psci-tests
5 - GHCVER=7.6.3
5 - GHCVER=7.6.3
6 - GHCVER=7.10.1
6 - GHCVER=7.10.1
7+ - GHCVER=7.8.4 STACKAGE=lts-2.22
8+ # 7.10.2 Pending https://github.com/travis-ci/apt-package-whitelist/pull/686
9+ - GHCVER=7.10.1 STACKAGE-nightly-2015-08-09
7before_install:
10before_install:
8 - export PATH="/opt/ghc/$GHCVER/bin:$PATH"
11 - export PATH="/opt/ghc/$GHCVER/bin:$PATH"
9 - export PATH="/opt/cabal/1.22/bin:$PATH"
12 - export PATH="/opt/cabal/1.22/bin:$PATH"
@@ -15,6 +18,9 @@ install:
15 - echo "$(ghc --version) [$(ghc --print-project-git-commit-id 2> /dev/null || echo '?')]"
18 - echo "$(ghc --version) [$(ghc --print-project-git-commit-id 2> /dev/null || echo '?')]"
16 - travis_retry cabal update
19 - travis_retry cabal update
17 - cabal sandbox init
20 - cabal sandbox init
21+ # Download stackage cabal.config
22+ # Not sure whether filtering out purescript is necessary
23+ - if [ -n "$STACKAGE" ]; then curl http://www.stackage.org/$STACKAGE/cabal.config | grep -v purescript > cabal.config; fi
18 # Run with limited concurrency
24 # Run with limited concurrency
19 # Travis container infrastructure seems to expose all host CPUs (16?), thus
25 # Travis container infrastructure seems to expose all host CPUs (16?), thus
20 # cabal and ghc tries to use them all. Which is bad idea on a shared box.
26 # cabal and ghc tries to use them all. Which is bad idea on a shared box.
@@ -52,7 +58,7 @@ addons:
52 packages:
58 packages:
53 - cabal-install-1.22
59 - cabal-install-1.22
54 - ghc-7.6.3
60 - ghc-7.6.3
55− - ghc-7.8.3
61+ - ghc-7.8.4
56 - ghc-7.10.1
62 - ghc-7.10.1
57 - happy-1.19.5
63 - happy-1.19.5
58 - alex-3.1.4
64 - alex-3.1.4
stack.yaml+1−1
@@ -6,4 +6,4 @@ extra-deps:
6- bower-json-0.7.0.0
6- bower-json-0.7.0.0
7- boxes-0.1.4
7- boxes-0.1.4
8- pattern-arrows-0.0.2
8- pattern-arrows-0.0.2
9−resolver: lts-2.15
9+resolver: lts-2.22