Skip to content

Commit

Permalink
Clean up home dir and drone build steps. (#823)
Browse files Browse the repository at this point in the history
Tests should only run on push to master and PRs, not when I push to WIP
branches.
  • Loading branch information
olafurpg authored Mar 12, 2017
1 parent 411ff5f commit 1e9e7dd
Show file tree
Hide file tree
Showing 10 changed files with 16 additions and 12 deletions.
17 changes: 14 additions & 3 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,25 @@ pipeline:
- /drone/.sbt
- /drone/.git

tests:
tests_pr:
image: scalaplatform/scala:0.6
pull: true
volumes:
- /platform:/keys
commands:
- ./scalafmt --test
- ./bin/scalafmt --test
- sbt $TEST
when:
event: pull_request

tests_merge:
image: scalaplatform/scala:0.6
volumes:
- /platform:/keys
commands:
- sbt $TEST
when:
event: push
branch: [master]

notify:
image: drillster/drone-email
Expand Down
2 changes: 1 addition & 1 deletion .drone.yml.sig
Original file line number Diff line number Diff line change
@@ -1 +1 @@
eyJhbGciOiJIUzI1NiJ9.cGlwZWxpbmU6CiAgIyBGZXRjaCBmb2xkZXJzIGZyb20gZGlzdHJpYnV0ZWQgY2FjaGUKICBzZnRwX2NhY2hlX3Jlc3RvcmU6CiAgICBpbWFnZTogcGx1Z2lucy9zZnRwLWNhY2hlCiAgICByZXN0b3JlOiB0cnVlCiAgICBtb3VudDoKICAgICAgLSAvZHJvbmUvLml2eTIKICAgICAgLSAvZHJvbmUvLmNvdXJzaWVyLWNhY2hlCiAgICAgIC0gL2Ryb25lLy5zYnQKICAgICAgLSAvZHJvbmUvLmdpdAoKICB0ZXN0czoKICAgIGltYWdlOiBzY2FsYXBsYXRmb3JtL3NjYWxhOjAuNgogICAgcHVsbDogdHJ1ZQogICAgdm9sdW1lczoKICAgICAgLSAvcGxhdGZvcm06L2tleXMKICAgIGNvbW1hbmRzOgogICAgICAtIC4vc2NhbGFmbXQgLS10ZXN0CiAgICAgIC0gc2J0ICRURVNUCgogIG5vdGlmeToKICAgIGltYWdlOiBkcmlsbHN0ZXIvZHJvbmU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2Ryb25lLy5zYnQKICAgICAgLSAvZHJvbmUvLmdpdAoKbWF0cml4OgogIFRFU1Q6CiAgICAtIGNpLWZhc3QKICAgIC0gY2ktc2xvdwoK._ae9fWzEVqNuiQCSsELxicGo50wAOZ8ceRc0_L8wnXk
File renamed without changes.
File renamed without changes.
Binary file modified bin/scalafmt
Binary file not shown.
7 changes: 0 additions & 7 deletions bin/testAll.sh

This file was deleted.

Binary file removed deploy_key.gpg
Binary file not shown.
Binary file removed homebrew_key.gpg
Binary file not shown.
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Head over to [the user docs][docs] for instructions on how to install scalafmt.
- Hack on IntelliJ plugin: see [this doc](intellij/readme.md).
- Hack on scalafmt: see [tutorial](Tutorial.md).
- Hack on SBT plugin: run `sbt scripted`.
- Run jmh benchmarks: `run-benchmarks.sh`.
- Run jmh benchmarks: `./bin/run-benchmarks.sh`.
- Run formatter on millions of lines of code: `core/test:runMain org.scalafmt.FormatExperimentApp`:
- Debug performance: after each test run in `FormatTests`, a flamegraph report
like [this one](https://github.com/olafurpg/scalafmt/issues/140)
Expand Down
Binary file removed scalafmt
Binary file not shown.

0 comments on commit 1e9e7dd

Please sign in to comment.