2015-12-15 18:03:21 +03:00
|
|
|
language: c
|
|
|
|
|
|
|
|
sudo: false
|
2015-03-22 05:22:24 +03:00
|
|
|
|
2017-03-05 14:09:57 +03:00
|
|
|
cache:
|
|
|
|
directories:
|
2018-03-16 23:16:11 +03:00
|
|
|
- ~/.cabal/packages
|
|
|
|
- ~/.cabal/store
|
2017-03-05 14:09:57 +03:00
|
|
|
|
2015-03-22 05:22:24 +03:00
|
|
|
matrix:
|
2015-12-15 18:03:21 +03:00
|
|
|
include:
|
2018-03-27 18:45:04 +03:00
|
|
|
- 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]}}
|
2018-04-21 15:22:09 +03:00
|
|
|
- env: CABALVER=2.2 GHCVER=8.4.2
|
|
|
|
addons: {apt: {packages: [cabal-install-2.2,ghc-8.4.2], sources: [hvr-ghc]}}
|
2015-03-22 05:22:24 +03:00
|
|
|
|
|
|
|
before_install:
|
2015-12-15 18:03:21 +03:00
|
|
|
- export PATH=/opt/ghc/$GHCVER/bin:/opt/cabal/$CABALVER/bin:$PATH
|
2015-03-22 05:22:24 +03:00
|
|
|
|
|
|
|
install:
|
2018-03-16 23:16:11 +03:00
|
|
|
- cabal --version
|
|
|
|
- ghc --version
|
|
|
|
- travis_retry cabal update
|
2015-03-22 05:22:24 +03:00
|
|
|
|
|
|
|
script:
|
2018-03-16 23:16:11 +03:00
|
|
|
- cabal new-build --enable-tests --enable-benchmarks --flags=dev
|
|
|
|
- cabal new-test
|
|
|
|
- cabal new-haddock
|
|
|
|
- cabal sdist
|
2015-03-22 05:22:24 +03:00
|
|
|
|
2015-07-27 12:00:41 +03:00
|
|
|
notifications:
|
|
|
|
email: false
|