Skip to content

Commit

Permalink
Release on tag publish
Browse files Browse the repository at this point in the history
  • Loading branch information
danschultzer committed May 19, 2019
1 parent dd9cd3a commit 9cc7f8d
Showing 1 changed file with 16 additions and 11 deletions.
27 changes: 16 additions & 11 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,19 @@
language: elixir
env:
- MIX_ENV=test
matrix:
elixir: 1.8
otp_release: 21.0
jobs:
include:
- elixir: 1.6
- stage: test
elixir: 1.6
otp_release: 20.0
- elixir: 1.8
otp_release: 21.0
script:
- mix deps.compile
- mix test
after_script:
- mix credo
script: &test_scripts
- mix test
- MIX_ENV=test mix credo
- stage: test
script: *test_scripts
- stage: deploy
script: skip
deploy:
provider: script
script: mix hex.publish --yes --dry-run
skip_cleanup: true

0 comments on commit 9cc7f8d

Please sign in to comment.