Skip to content

Commit

Permalink
Make before_deploy run only once in .travis.yml (closes #3)
Browse files Browse the repository at this point in the history
  • Loading branch information
asoltysik committed Aug 10, 2018
1 parent c198aac commit b3dc549
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,12 @@ shared_deployment_options: &shared
language: scala
scala:
- 2.11.12
before_deploy: sbt assembly
before_deploy:
- >
if ! [ "$BEFORE_DEPLOY_RUN" ]; then
export BEFORE_DEPLOY_RUN=1;
sbt assembly;
fi
deploy:
- provider: s3
Expand Down

0 comments on commit b3dc549

Please sign in to comment.