mirror of
https://github.com/khibino/haskell-relational-record.git
synced 2024-11-29 06:37:03 +03:00
124 lines
5.4 KiB
YAML
124 lines
5.4 KiB
YAML
language: c
|
|
sudo: false
|
|
|
|
git:
|
|
submodules: false # whether to recursively clone submodules
|
|
|
|
cache:
|
|
directories:
|
|
- $HOME/.cabal/packages
|
|
- $HOME/.cabal/store
|
|
|
|
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
|
|
|
|
matrix:
|
|
include:
|
|
- compiler: "ghc-8.4.3"
|
|
# env: TEST=--disable-tests BENCH=--disable-benchmarks
|
|
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]}}
|
|
- 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]}}
|
|
|
|
before_install:
|
|
- 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 ;
|
|
fi
|
|
|
|
install:
|
|
- if [ x"$STACK_RESOLVER" != x ];
|
|
then
|
|
./travis-CI/stack/install.sh ;
|
|
else
|
|
./travis-CI/cabal-hvr-ghc-2/install.sh ;
|
|
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:
|
|
- if [ x"$STACK_RESOLVER" != x ];
|
|
then
|
|
./travis-CI/stack/script.sh ;
|
|
else
|
|
./travis-CI/cabal-hvr-ghc-2/script.sh ;
|
|
fi
|
|
# EOF
|