Skip to content

Commit

Permalink
travis: configure GitHub Releases Uploading
Browse files Browse the repository at this point in the history
  • Loading branch information
msakai committed Oct 9, 2017
1 parent 8d47271 commit 6de3d78
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,20 @@ after_script:
- "[ -n \"$COVERAGE\" ] && travis_retry curl -L https://github.com/rubik/stack-hpc-coveralls/releases/download/v0.0.4.0/shc-linux-x64-$GHCVER.tar.bz2 | tar -xj"
- "[ -n \"$COVERAGE\" ] && ./shc toysolver TestSuite TestPolynomial"

before_deploy:
- stack --install-ghc runghc --package turtle misc/build_artifacts.hs

deploy:
provider: releases
api_key:
secure: "WhAyiMHX+EGKdlECuT7sEqTzHOWqmnDB2DSS370ugApFklj1k8yLUp4sC1myFAxaNJYAlWRWV9ciJO/+zi/SOEmFp4+JAiNNfwVokugjqc2qeqr5NG5EGH9hqv8Sp67LBGAmvmFRZuFZ2f/0hLaBmsI8++HJJG4IBCHlBhN+XCY="
file_glob: true
file: '*.tar.xz'
skip_cleanup: true
on:
tags: true
condition: "$RESOLVER = lts-9.2"

notifications:
webhooks:
urls:
Expand Down

0 comments on commit 6de3d78

Please sign in to comment.