mirror of
https://github.com/mrkkrp/megaparsec.git
synced 2024-11-23 19:38:05 +03:00
37 lines
921 B
YAML
37 lines
921 B
YAML
language: c
|
|
|
|
sudo: false
|
|
|
|
cache:
|
|
directories:
|
|
- ~/.cabal/packages
|
|
- ~/.cabal/store
|
|
|
|
matrix:
|
|
include:
|
|
- env: CABALVER=2.2 GHCVER=7.10.3
|
|
addons: {apt: {packages: [cabal-install-2.2,ghc-7.10.3],sources: [hvr-ghc]}}
|
|
- env: CABALVER=2.2 GHCVER=8.0.2
|
|
addons: {apt: {packages: [cabal-install-2.2,ghc-8.0.2], sources: [hvr-ghc]}}
|
|
- env: CABALVER=2.2 GHCVER=8.2.2
|
|
addons: {apt: {packages: [cabal-install-2.2,ghc-8.2.2], sources: [hvr-ghc]}}
|
|
- env: CABALVER=2.2 GHCVER=8.4.2
|
|
addons: {apt: {packages: [cabal-install-2.2,ghc-8.4.2], sources: [hvr-ghc]}}
|
|
|
|
before_install:
|
|
- export PATH=/opt/ghc/$GHCVER/bin:/opt/cabal/$CABALVER/bin:$PATH
|
|
|
|
install:
|
|
- cabal --version
|
|
- ghc --version
|
|
- travis_retry cabal update
|
|
|
|
script:
|
|
- cabal new-build --enable-tests --enable-benchmarks --flags=dev
|
|
- cabal new-test
|
|
- cabal new-haddock
|
|
- cabal sdist
|
|
|
|
notifications:
|
|
email: false
|