Skip to content

Commit

Permalink
New HPC method.
Browse files Browse the repository at this point in the history
  • Loading branch information
andorp committed Jul 20, 2019
1 parent a29648c commit eb5d87e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
8 changes: 5 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,15 @@ before_install:

install:
- stack update
- travis_wait 120 stack --no-terminal --install-ghc test --only-dependencies
- travis_wait 120 stack --no-terminal --install-ghc build --only-dependencies --coverage

script:
- mkdir .output
- stack --no-terminal test --coverage
- stack build --coverage
- stack exec grin-test --coverage
- stack exec grin -- grin/grin/sum_simple.grin

after_script:
- travis_retry curl -L https://github.com/rubik/stack-hpc-coveralls/releases/download/v0.0.4.0/shc-linux-x64-8.0.1.tar.bz2 | tar -xj
- ./shc grin grin-test
- stack hpc report --all grin-test.tix grin.tix
- ./shc --repo-token=zGXui2BR5EcWhA292bY5ouvTWhZCj2zVU combined custom
3 changes: 1 addition & 2 deletions grin/grin.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -199,8 +199,7 @@ executable grin
, binary
default-language: Haskell2010

test-suite grin-test
type: exitcode-stdio-1.0
executable grin-test
hs-source-dirs: test
main-is: Spec.hs
default-extensions: OverloadedStrings
Expand Down

0 comments on commit eb5d87e

Please sign in to comment.