Skip to content

Commit

Permalink
upload to hex
Browse files Browse the repository at this point in the history
  • Loading branch information
44044 committed May 29, 2019
1 parent 9d1d9ea commit 8fd7c48
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 5 deletions.
13 changes: 10 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,17 @@
language: erlang
otp_release:
- 22.0
- 21.3
- 20.3
- 19.3
before_install:
- rebar3 local upgrade
- export PATH=~/.cache/rebar3/bin:$PATH
script:
- rebar3 ct --readable=false
- rebar3 compile
after_success:
- rebar3 as test coveralls send
deploy:
provider: script
script: rebar3 do hex config username "${HEX_USERNAME}" , hex config key "${HEX_KEY}" , hex publish
skip_cleanup: true
on:
tags: true
2 changes: 1 addition & 1 deletion rebar.config.script
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ case os:getenv("TRAVIS") of
"true" ->
JobId = os:getenv("TRAVIS_JOB_ID"),
CONFIG1 = lists:keystore(coveralls_service_job_id, 1, CONFIG, {coveralls_service_job_id, JobId}),
lists:keystore(plugins, 1, CONFIG1, {plugins, [coveralls]});
lists:keystore(plugins, 1, CONFIG1, {plugins, [coveralls, {rebar3_hex, "4.1.0"}]});
_ ->
CONFIG
end.
2 changes: 1 addition & 1 deletion src/fieldmask.app.src
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{application, fieldmask,
[
{description, "Implements Google Partial Response/json-mask in Erlang."},
{vsn, "0.0.1"},
{vsn, "git"},
{modules, []},
{registered, []},
{applications, []},
Expand Down

0 comments on commit 8fd7c48

Please sign in to comment.