haskell-relational-record/.travis.yml

124 lines
5.4 KiB
YAML
Raw Normal View History

2016-06-18 15:11:09 +03:00
language: c
sudo: false
2016-06-18 15:11:09 +03:00
git:
submodules: false # whether to recursively clone submodules
2016-06-18 15:11:09 +03:00
cache:
directories:
- $HOME/.cabal/packages
- $HOME/.cabal/store
2016-06-18 15:11:09 +03:00
before_cache:
- rm -fv $HOME/.cabal/packages/hackage.haskell.org/build-reports.log
# remove files that are regenerated by 'cabal update'
- rm -fv $HOME/.cabal/packages/hackage.haskell.org/00-index.*
- rm -fv $HOME/.cabal/packages/hackage.haskell.org/*.json
- rm -fv $HOME/.cabal/packages/hackage.haskell.org/01-index.cache
- rm -fv $HOME/.cabal/packages/hackage.haskell.org/01-index.tar
- rm -fv $HOME/.cabal/packages/hackage.haskell.org/01-index.tar.idx
2016-06-18 15:11:09 +03:00
matrix:
include:
2018-06-05 12:28:35 +03:00
- compiler: "ghc-8.4.3"
# env: TEST=--disable-tests BENCH=--disable-benchmarks
2018-06-05 12:28:35 +03:00
addons: {apt: {packages: [ghc-ppa-tools,cabal-install-head,ghc-8.4.3], sources: [hvr-ghc]}}
- compiler: "ghc-8.2.2"
# env: TEST=--disable-tests BENCH=--disable-benchmarks
addons: {apt: {packages: [ghc-ppa-tools,cabal-install-head,ghc-8.2.2], sources: [hvr-ghc]}}
- compiler: "ghc-8.0.2"
# env: TEST=--disable-tests BENCH=--disable-benchmarks
addons: {apt: {packages: [ghc-ppa-tools,cabal-install-head,ghc-8.0.2], sources: [hvr-ghc]}}
- env: STACK_RESOLVER=lts-11.6
addons: {apt: {packages: [libgmp-dev]}}
- env: STACK_RESOLVER=lts-10.10
addons: {apt: {packages: [libgmp-dev]}}
- compiler: "ghc-7.10.3"
# env: TEST=--disable-tests BENCH=--disable-benchmarks
addons: {apt: {packages: [ghc-ppa-tools,cabal-install-head,ghc-7.10.3], sources: [hvr-ghc]}}
- compiler: "ghc-7.8.4"
# env: TEST=--disable-tests BENCH=--disable-benchmarks
addons: {apt: {packages: [ghc-ppa-tools,cabal-install-head,ghc-7.8.4], sources: [hvr-ghc]}}
- compiler: "ghc-7.6.3"
# env: TEST=--disable-tests BENCH=--disable-benchmarks
addons: {apt: {packages: [ghc-ppa-tools,cabal-install-head,ghc-7.6.3], sources: [hvr-ghc]}}
- compiler: "ghc-7.4.1" # with Debian Wheezy
env: DEBIANVER=wheezy
addons: {apt: {packages: [ghc-ppa-tools,cabal-install-head,ghc-7.4.1], sources: [hvr-ghc]}}
- env: STACK_RESOLVER=lts-9.21
addons: {apt: {packages: [libgmp-dev]}}
- env: STACK_RESOLVER=lts-8.24
addons: {apt: {packages: [libgmp-dev]}}
- env: STACK_RESOLVER=lts-7.24
addons: {apt: {packages: [libgmp-dev]}}
- compiler: "ghc-7.4.1"
# env: TEST=--disable-tests BENCH=--disable-benchmarks
addons: {apt: {packages: [ghc-ppa-tools,cabal-install-head,ghc-7.4.1], sources: [hvr-ghc]}}
- compiler: "ghc-7.4.2"
# env: TEST=--disable-tests BENCH=--disable-benchmarks
addons: {apt: {packages: [ghc-ppa-tools,cabal-install-head,ghc-7.4.2], sources: [hvr-ghc]}}
## - compiler: "ghc-7.6.1"
## # env: TEST=--disable-tests BENCH=--disable-benchmarks
## addons: {apt: {packages: [ghc-ppa-tools,cabal-install-head,ghc-7.6.1], sources: [hvr-ghc]}}
- compiler: "ghc-7.6.2"
# env: TEST=--disable-tests BENCH=--disable-benchmarks
addons: {apt: {packages: [ghc-ppa-tools,cabal-install-head,ghc-7.6.2], sources: [hvr-ghc]}}
## - compiler: "ghc-7.8.1"
## # env: TEST=--disable-tests BENCH=--disable-benchmarks
## addons: {apt: {packages: [ghc-ppa-tools,cabal-install-head,ghc-7.8.1], sources: [hvr-ghc]}}
## - compiler: "ghc-7.8.2"
## # env: TEST=--disable-tests BENCH=--disable-benchmarks
## addons: {apt: {packages: [ghc-ppa-tools,cabal-install-head,ghc-7.8.2], sources: [hvr-ghc]}}
- compiler: "ghc-7.8.3"
# env: TEST=--disable-tests BENCH=--disable-benchmarks
addons: {apt: {packages: [ghc-ppa-tools,cabal-install-head,ghc-7.8.3], sources: [hvr-ghc]}}
## - compiler: "ghc-7.10.1"
## # env: TEST=--disable-tests BENCH=--disable-benchmarks
## addons: {apt: {packages: [ghc-ppa-tools,cabal-install-head,ghc-7.10.1], sources: [hvr-ghc]}}
- compiler: "ghc-7.10.2"
# env: TEST=--disable-tests BENCH=--disable-benchmarks
addons: {apt: {packages: [ghc-ppa-tools,cabal-install-head,ghc-7.10.2], sources: [hvr-ghc]}}
- compiler: "ghc-8.0.1"
# env: TEST=--disable-tests BENCH=--disable-benchmarks
addons: {apt: {packages: [ghc-ppa-tools,cabal-install-head,ghc-8.0.1], sources: [hvr-ghc]}}
- compiler: "ghc-8.2.1"
# env: TEST=--disable-tests BENCH=--disable-benchmarks
addons: {apt: {packages: [ghc-ppa-tools,cabal-install-head,ghc-8.2.1], sources: [hvr-ghc]}}
- compiler: "ghc-8.4.1"
# env: TEST=--disable-tests BENCH=--disable-benchmarks
addons: {apt: {packages: [ghc-ppa-tools,cabal-install-head,ghc-8.4.1], sources: [hvr-ghc]}}
2018-06-05 12:28:35 +03:00
- compiler: "ghc-8.4.2"
# env: TEST=--disable-tests BENCH=--disable-benchmarks
addons: {apt: {packages: [ghc-ppa-tools,cabal-install-head,ghc-8.4.2], sources: [hvr-ghc]}}
2016-06-18 15:11:09 +03:00
2015-01-03 17:33:38 +03:00
before_install:
2017-02-01 11:59:45 +03:00
- if [ x"$STACK_RESOLVER" != x ];
then
./travis-CI/stack/before-install.sh ;
export PATH=$HOME/.local/bin:$PATH ;
export STACK_YAML=stack-travis.yaml ;
else
export HC=${CC} ;
unset CC ;
export PATH=/opt/ghc/bin:/opt/ghc-ppa-tools/bin:$PATH ;
2017-02-01 11:59:45 +03:00
fi
2016-06-18 15:11:09 +03:00
install:
2017-02-01 11:59:45 +03:00
- if [ x"$STACK_RESOLVER" != x ];
2016-06-18 15:11:09 +03:00
then
2017-02-01 11:59:45 +03:00
./travis-CI/stack/install.sh ;
else
./travis-CI/cabal-hvr-ghc-2/install.sh ;
2016-06-18 15:11:09 +03:00
fi
# Here starts the actual work to be performed for the package under test;
# any command which exits with a non-zero exit code causes the build to fail.
script:
2017-02-01 11:59:45 +03:00
- if [ x"$STACK_RESOLVER" != x ];
then
./travis-CI/stack/script.sh ;
else
./travis-CI/cabal-hvr-ghc-2/script.sh ;
2017-02-01 11:59:45 +03:00
fi
2016-06-18 15:11:09 +03:00
# EOF