Skip to content
This repository has been archived by the owner on Sep 7, 2018. It is now read-only.

Commit

Permalink
Test on ghc-head
Browse files Browse the repository at this point in the history
  • Loading branch information
christiaanb committed Mar 17, 2018
1 parent b0831c2 commit 6c32842
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
9 changes: 6 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,14 @@ 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]}}
- compiler: "ghc-head"
env: GHCHEAD=true
addons: {apt: {packages: [ghc-ppa-tools,cabal-install-head,ghc-head], sources: [hvr-ghc]}}

allow_failures:
- compiler: "ghc-8.4.1"
- compiler: "ghc-head"

before_install:
- HC=${CC}
Expand Down Expand Up @@ -91,7 +94,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
2 changes: 1 addition & 1 deletion clash-prelude.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ Extra-source-files: README.md
extra-doc-files: doc/*.svg

Cabal-version: >=1.18
Tested-with: GHC == 8.2.2, GHC == 8.4.1
Tested-with: GHC == 8.2.2, GHC == 8.4.1, GHC == 8.5

source-repository head
type: git
Expand Down

0 comments on commit 6c32842

Please sign in to comment.