mirror of
https://github.com/typeable/inflections-hs.git
synced 2024-09-11 06:05:33 +03:00
Merge pull request #14 from stackbuilders/move_to_travis_containers
Use travis CI containers
This commit is contained in:
commit
f776ace29b
50
.travis.yml
50
.travis.yml
@ -1,39 +1,31 @@
|
||||
env:
|
||||
- CABALVER=1.16 GHCVER=7.0.1
|
||||
- CABALVER=1.16 GHCVER=7.0.2
|
||||
- CABALVER=1.16 GHCVER=7.0.3
|
||||
- CABALVER=1.16 GHCVER=7.0.4
|
||||
- CABALVER=1.16 GHCVER=7.2.1
|
||||
- CABALVER=1.16 GHCVER=7.2.2
|
||||
- CABALVER=1.16 GHCVER=7.4.1
|
||||
- CABALVER=1.16 GHCVER=7.4.2
|
||||
- CABALVER=1.16 GHCVER=7.6.1
|
||||
- CABALVER=1.16 GHCVER=7.6.2
|
||||
- CABALVER=1.18 GHCVER=7.6.3
|
||||
- CABALVER=1.18 GHCVER=7.8.1
|
||||
- CABALVER=1.18 GHCVER=7.8.2
|
||||
- CABALVER=1.18 GHCVER=7.8.3
|
||||
- CABALVER=1.18 GHCVER=7.8.4
|
||||
- CABALVER=1.22 GHCVER=7.10.1
|
||||
- CABALVER=head GHCVER=head
|
||||
language: haskell
|
||||
|
||||
sudo: false
|
||||
|
||||
matrix:
|
||||
allow_failures:
|
||||
- env: CABALVER=head GHCVER=head
|
||||
include:
|
||||
- env: CABALVER=1.20 GHCVER=7.6.3
|
||||
addons: {apt: {packages: [cabal-install-1.16,ghc-7.6.3], sources: [hvr-ghc]}}
|
||||
- env: CABALVER=1.20 GHCVER=7.8.4
|
||||
addons: {apt: {packages: [cabal-install-1.18,ghc-7.8.4], sources: [hvr-ghc]}}
|
||||
- env: CABALVER=1.22 GHCVER=7.10.1
|
||||
addons: {apt: {packages: [cabal-install-1.22,ghc-7.10.1], sources: [hvr-ghc]}}
|
||||
- env: CABALVER=head GHCVER=head
|
||||
addons: {apt: {packages: [cabal-install-head,ghc-head], sources: [hvr-ghc]}}
|
||||
allow_failures:
|
||||
- env: CABALVER=head GHCVER=head
|
||||
|
||||
before_install:
|
||||
- export PATH=/opt/ghc/$GHCVER/bin:/opt/cabal/$CABALVER/bin:$PATH
|
||||
|
||||
install:
|
||||
- travis_retry sudo add-apt-repository -y ppa:hvr/ghc
|
||||
- travis_retry sudo apt-get update
|
||||
- travis_retry sudo apt-get install cabal-install-$CABALVER ghc-$GHCVER
|
||||
- export PATH=/opt/ghc/$GHCVER/bin:/opt/cabal/$CABALVER/bin:$PATH
|
||||
- cabal --version
|
||||
- echo "$(ghc --version) [$(ghc --print-project-git-commit-id 2> /dev/null || echo '?')]"
|
||||
- travis_retry cabal update
|
||||
- cabal install --only-dependencies --enable-tests --enable-benchmarks
|
||||
- cabal update
|
||||
- cabal sandbox init
|
||||
- cabal install --only-dependencies --enable-tests --enable-benchmarks -j2
|
||||
|
||||
script:
|
||||
- cabal configure --enable-tests --enable-benchmarks -v2
|
||||
- cabal build
|
||||
- cabal build -j2
|
||||
- cabal test
|
||||
- cabal check
|
||||
- cabal sdist
|
||||
|
Loading…
Reference in New Issue
Block a user