mirror of
https://github.com/ilyakooo0/optparse-applicative.git
synced 2024-09-11 10:45:25 +03:00
.travis.yml: Re-enable GHC-7.0 and 7.2; add hlint run
This commit is contained in:
parent
9f90e4a41d
commit
7c9afeb503
11
.travis.yml
11
.travis.yml
@ -1,6 +1,6 @@
|
||||
# This Travis job script has been generated by a script via
|
||||
#
|
||||
# haskell-ci '--ghc-head' '--tests-jobs' '>=7.4' 'optparse-applicative.cabal'
|
||||
# haskell-ci '--ghc-head' '--hlint' '--hlint-yaml=.hlint.yaml' 'optparse-applicative.cabal'
|
||||
#
|
||||
# For more information, see https://github.com/haskell-CI/haskell-ci
|
||||
#
|
||||
@ -45,6 +45,10 @@ matrix:
|
||||
addons: {"apt":{"sources":["hvr-ghc"],"packages":["ghc-7.6.3","cabal-install-2.4"]}}
|
||||
- compiler: ghc-7.4.2
|
||||
addons: {"apt":{"sources":["hvr-ghc"],"packages":["ghc-7.4.2","cabal-install-2.4"]}}
|
||||
- compiler: ghc-7.2.2
|
||||
addons: {"apt":{"sources":["hvr-ghc"],"packages":["ghc-7.2.2","cabal-install-2.4"]}}
|
||||
- compiler: ghc-7.0.4
|
||||
addons: {"apt":{"sources":["hvr-ghc"],"packages":["ghc-7.0.4","cabal-install-2.4"]}}
|
||||
- compiler: ghc-head
|
||||
addons: {"apt":{"sources":["hvr-ghc"],"packages":["ghc-head","cabal-install-head"]}}
|
||||
env: GHCHEAD=true
|
||||
@ -118,6 +122,7 @@ install:
|
||||
- cat $CABALHOME/config
|
||||
- rm -fv cabal.project cabal.project.local cabal.project.freeze
|
||||
- travis_retry ${CABAL} v2-update -v
|
||||
- if [ $HCNUMVER -eq 80605 ] ; then ${CABAL} v2-install -w ${HC} -j2 hlint --constraint='hlint ==2.1.*' | color_cabal_output ; fi
|
||||
# Generate cabal.project
|
||||
- rm -rf cabal.project cabal.project.local cabal.project.freeze
|
||||
- touch cabal.project
|
||||
@ -160,6 +165,8 @@ script:
|
||||
- ${CABAL} v2-build -w ${HC} ${TEST} ${BENCH} all | color_cabal_output
|
||||
# Testing...
|
||||
- ${CABAL} v2-test -w ${HC} ${TEST} ${BENCH} all | color_cabal_output
|
||||
# HLint..
|
||||
- if [ $HCNUMVER -eq 80605 ] ; then (cd optparse-applicative-* && hlint -h ${TOP}/.hlint.yaml src) ; fi
|
||||
# cabal check...
|
||||
- (cd optparse-applicative-* && ${CABAL} -vnormal check)
|
||||
# haddock...
|
||||
@ -168,5 +175,5 @@ script:
|
||||
- rm -f cabal.project.local
|
||||
- ${CABAL} v2-build -w ${HC} --disable-tests --disable-benchmarks all | color_cabal_output
|
||||
|
||||
# REGENDATA ["--ghc-head","--tests-jobs",">=7.4","optparse-applicative.cabal"]
|
||||
# REGENDATA ["--ghc-head","--hlint","--hlint-yaml=.hlint.yaml","optparse-applicative.cabal"]
|
||||
# EOF
|
||||
|
@ -43,6 +43,8 @@ extra-source-files: CHANGELOG.md
|
||||
homepage: https://github.com/pcapriotti/optparse-applicative
|
||||
bug-reports: https://github.com/pcapriotti/optparse-applicative/issues
|
||||
tested-with:
|
||||
GHC==7.0.4,
|
||||
GHC==7.2.2,
|
||||
GHC==7.4.2,
|
||||
GHC==7.6.3,
|
||||
GHC==7.8.4,
|
||||
|
Loading…
Reference in New Issue
Block a user