Skip to content

Commit

Permalink
Prepare for 0.3.8 release
Browse files Browse the repository at this point in the history
  • Loading branch information
phadej committed Mar 14, 2018
1 parent 28fc15f commit 1f8ef4f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 23 deletions.
22 changes: 2 additions & 20 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,9 @@ matrix:
# 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.4.1"
env: GHCHEAD=true
# env: TEST=--disable-tests BENCH=--disable-benchmarks
addons: {apt: {packages: [ghc-ppa-tools,cabal-install-head,ghc-8.4.1], sources: [hvr-ghc]}}

allow_failures:
- compiler: "ghc-8.4.1"

before_install:
- HC=${CC}
- HCPKG=${HC/ghc/ghc-pkg}
Expand All @@ -73,21 +70,6 @@ install:
- "sed -i.bak 's/^jobs:/-- jobs:/' ${HOME}/.cabal/config"
- rm -fv cabal.project cabal.project.local
- "if [ $HCNUMVER -ge 70800 ]; then sed -i.bak 's/-- ghc-options:.*/ghc-options: -j2/' ${HOME}/.cabal/config; fi"
# Overlay Hackage Package Index for GHC HEAD: https://github.com/hvr/head.hackage
- |
if $GHCHEAD; then
sed -i.bak 's/-- allow-newer:.*/allow-newer: *:base, *:template-haskell, *:ghc, *:Cabal/' ${HOME}/.cabal/config
echo 'repository head.hackage' >> ${HOME}/.cabal/config
echo ' url: http://head.hackage.haskell.org/' >> ${HOME}/.cabal/config
echo ' secure: True' >> ${HOME}/.cabal/config
echo ' root-keys: 07c59cb65787dedfaef5bd5f987ceb5f7e5ebf88b904bbd4c5cbdeb2ff71b740' >> ${HOME}/.cabal/config
echo ' 2e8555dde16ebd8df076f1a8ef13b8f14c66bad8eafefd7d9e37d0ed711821fb' >> ${HOME}/.cabal/config
echo ' 8f79fd2389ab2967354407ec852cbe73f2e8635793ac446d09461ffb99527f6e' >> ${HOME}/.cabal/config
echo ' key-threshold: 3' >> ${HOME}/.cabal.config
cabal new-update head.hackage -v
fi
- grep -Ev -- '^\s*--' ${HOME}/.cabal/config | grep -Ev '^\s*$'
- "printf 'packages: \".\"\\n' > cabal.project"
- cat cabal.project
Expand All @@ -97,7 +79,7 @@ install:
- rm -f cabal.project.freeze
- cabal new-build -w ${HC} ${TEST} ${BENCH} --project-file="cabal.project" --dep -j2 all
- cabal new-build -w ${HC} --disable-tests --disable-benchmarks --project-file="cabal.project" --dep -j2 all
- rm -rf "."/.ghc.environment.* "."/dist
- rm -rf .ghc.environment.* "."/dist
- DISTDIR=$(mktemp -d /tmp/dist-test.XXXX)

# Here starts the actual work to be performed for the package under test;
Expand Down
6 changes: 3 additions & 3 deletions http-api-data.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ tested-with:

custom-setup
setup-depends:
base >= 4.7 && <4.11,
base >= 4.7 && <4.12,
Cabal >= 1.18 && <2.3,
cabal-doctest >=1.0.6 && <1.1

Expand All @@ -40,7 +40,7 @@ flag use-text-show
library
hs-source-dirs: src/
include-dirs: include/
build-depends: base >= 4.7 && < 4.11
build-depends: base >= 4.7 && < 4.12
, attoparsec >= 0.13.0.1 && < 0.14
, attoparsec-iso8601 >= 1.0.0.0 && < 1.1
, bytestring >= 0.10.4.0 && < 0.11
Expand Down Expand Up @@ -95,7 +95,7 @@ test-suite doctests
build-depends:
base,
directory >= 1.0,
doctest >= 0.11 && <0.14,
doctest >= 0.11 && <0.15,
filepath
default-language: Haskell2010
hs-source-dirs: test
Expand Down

0 comments on commit 1f8ef4f

Please sign in to comment.