git.iko.soy/typeable/postgresql-simple
on master help sign in
Regenerate .travis.yml
commit3389f0244e6f5e90ea6e5e4c5107d46f5d70d8f8 authorOleg Grenrus <oleg.grenrus@iki.fi> dateWed 23 Jan 2019, 00:39 (8 years ago) parent9104383
1 file changed+10−4
.travis.yml+10−4
.travis.yml+10−4
@@ -1,6 +1,6 @@
11# This Travis job script has been generated by a script via
22#
3−# runghc make_travis_yml_2.hs '--output' '.travis.yml' 'postgresql-simple.cabal'
3+# runghc make_travis_yml_2.hs '--branch' 'master' '--output' '.travis.yml' 'postgresql-simple.cabal'
44#
55# For more information, see https://github.com/haskell-CI/haskell-ci
66#
@@ -13,6 +13,10 @@ services:
1313git:
1414 submodules: false # whether to recursively clone submodules
1515
16+branches:
17+ only:
18+ - master
19+
1620cache:
1721 directories:
1822 - $HOME/.cabal/packages
@@ -31,9 +35,9 @@ before_cache:
3135
3236matrix:
3337 include:
34− - compiler: "ghc-8.6.1"
38+ - compiler: "ghc-8.6.3"
3539 # env: TEST=--disable-tests BENCH=--disable-benchmarks
36− addons: {apt: {packages: [ghc-ppa-tools,cabal-install-2.4,ghc-8.6.1], sources: [hvr-ghc]}}
40+ addons: {apt: {packages: [ghc-ppa-tools,cabal-install-2.4,ghc-8.6.3], sources: [hvr-ghc]}}
3741 - compiler: "ghc-8.4.4"
3842 # env: TEST=--disable-tests BENCH=--disable-benchmarks
3943 addons: {apt: {packages: [ghc-ppa-tools,cabal-install-2.4,ghc-8.4.4], sources: [hvr-ghc]}}
@@ -77,6 +81,7 @@ install:
7781 - rm -fv cabal.project cabal.project.local
7882 - grep -Ev -- '^\s*--' ${HOME}/.cabal/config | grep -Ev '^\s*$'
7983 - "printf 'packages: \".\"\\n' > cabal.project"
84+ - "printf 'write-ghc-environment-files: always\\n' >> cabal.project"
8085 - touch cabal.project.local
8186 - "if ! $NOINSTALLEDCONSTRAINTS; then for pkg in $($HCPKG list --simple-output); do echo $pkg | grep -vw -- postgresql-simple | sed 's/^/constraints: /' | sed 's/-[^-]*$/ installed/' >> cabal.project.local; done; fi"
8287 - cat cabal.project || true
@@ -99,6 +104,7 @@ script:
99104 - cd ${DISTDIR} || false
100105 - find . -maxdepth 1 -name '*.tar.gz' -exec tar -xvf '{}' \;
101106 - "printf 'packages: postgresql-simple-*/*.cabal\\n' > cabal.project"
107+ - "printf 'write-ghc-environment-files: always\\n' >> cabal.project"
102108 - touch cabal.project.local
103109 - "if ! $NOINSTALLEDCONSTRAINTS; then for pkg in $($HCPKG list --simple-output); do echo $pkg | grep -vw -- postgresql-simple | sed 's/^/constraints: /' | sed 's/-[^-]*$/ installed/' >> cabal.project.local; done; fi"
104110 - cat cabal.project || true
@@ -119,5 +125,5 @@ script:
119125 # Build without installed constraints for packages in global-db
120126 - if $UNCONSTRAINED; then rm -f cabal.project.local; echo cabal new-build -w ${HC} --disable-tests --disable-benchmarks all; else echo "Not building without installed constraints"; fi
121127
122−# REGENDATA ["--output",".travis.yml","postgresql-simple.cabal"]
128+# REGENDATA ["--branch","master","--output",".travis.yml","postgresql-simple.cabal"]
123129# EOF