Skip to content

Commit

Permalink
Regenerate .travis.yml
Browse files Browse the repository at this point in the history
This commit was performed automatically by a script.
https://github.com/RyanGlScott/travis-maintenance
  • Loading branch information
RyanGlScott committed Dec 10, 2018
1 parent faea66c commit d8f8196
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
6 changes: 4 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ before_cache:

matrix:
include:
- compiler: "ghc-8.6.2"
- compiler: "ghc-8.6.3"
# env: TEST=--disable-tests BENCH=--disable-benchmarks
addons: {apt: {packages: [ghc-ppa-tools,cabal-install-2.4,ghc-8.6.2,freeglut3-dev], sources: [hvr-ghc]}}
addons: {apt: {packages: [ghc-ppa-tools,cabal-install-2.4,ghc-8.6.3,freeglut3-dev], sources: [hvr-ghc]}}
- compiler: "ghc-8.4.4"
# env: TEST=--disable-tests BENCH=--disable-benchmarks
addons: {apt: {packages: [ghc-ppa-tools,cabal-install-2.4,ghc-8.4.4,freeglut3-dev], sources: [hvr-ghc]}}
Expand Down Expand Up @@ -112,6 +112,7 @@ install:
fi
- grep -Ev -- '^\s*--' ${HOME}/.cabal/config | grep -Ev '^\s*$'
- "printf 'packages: \".\" \"./examples\" \"./lens-properties\"\\n' > cabal.project"
- "printf 'write-ghc-environment-files: always\\n' >> cabal.project"
- touch cabal.project.local
- "if ! $NOINSTALLEDCONSTRAINTS; then for pkg in $($HCPKG list --simple-output); do echo $pkg | grep -vw -- lens | grep -vw -- lens-examples | grep -vw -- lens-properties | sed 's/^/constraints: /' | sed 's/-[^-]*$/ installed/' >> cabal.project.local; done; fi"
- cat cabal.project || true
Expand Down Expand Up @@ -139,6 +140,7 @@ script:
- cd ${DISTDIR} || false
- find . -maxdepth 1 -name '*.tar.gz' -exec tar -xvf '{}' \;
- "printf 'packages: lens-*/*.cabal lens-examples-*/*.cabal lens-properties-*/*.cabal\\n' > cabal.project"
- "printf 'write-ghc-environment-files: always\\n' >> cabal.project"
- touch cabal.project.local
- "if ! $NOINSTALLEDCONSTRAINTS; then for pkg in $($HCPKG list --simple-output); do echo $pkg | grep -vw -- lens | grep -vw -- lens-examples | grep -vw -- lens-properties | sed 's/^/constraints: /' | sed 's/-[^-]*$/ installed/' >> cabal.project.local; done; fi"
- cat cabal.project || true
Expand Down
2 changes: 1 addition & 1 deletion examples/lens-examples.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ tested-with: GHC == 7.4.2
, GHC == 8.0.2
, GHC == 8.2.2
, GHC == 8.4.4
, GHC == 8.6.2
, GHC == 8.6.3

source-repository head
type: git
Expand Down
2 changes: 1 addition & 1 deletion lens-properties/lens-properties.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ tested-with: GHC == 7.4.2
, GHC == 8.0.2
, GHC == 8.2.2
, GHC == 8.4.4
, GHC == 8.6.2
, GHC == 8.6.3

extra-source-files:
.hlint.yaml
Expand Down
2 changes: 1 addition & 1 deletion lens.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ tested-with: GHC == 7.4.2
, GHC == 8.0.2
, GHC == 8.2.2
, GHC == 8.4.4
, GHC == 8.6.2
, GHC == 8.6.3
synopsis: Lenses, Folds and Traversals
description:
This package comes \"Batteries Included\" with many useful lenses for the types
Expand Down

0 comments on commit d8f8196

Please sign in to comment.