Commit Graph

26 Commits

Author SHA1 Message Date
Marcelo Fabri b7cad580a1 Fix deadlock when stderr fills up OS buffer
See https://medium.com/zendesk-engineering/running-a-child-process-in-ruby-properly-febd0a2b6ec8#.p5a2j1d9l
2017-02-03 12:27:00 -08:00
JP Simard da7712b2b1 small Danger/oss-check improvements 2017-02-03 12:14:10 -08:00
Marcelo Fabri d692a783f3 Run script with a clean env 2017-02-02 22:21:22 -02:00
Marcelo Fabri 5ce8ed7cd0 Use stderr 2017-02-02 22:21:22 -02:00
Marcelo Fabri f5370c7b36 Make Danger use the script 2017-02-02 22:21:22 -02:00
Marcelo Fabri 35209910b7 Make lint duration respect repos order 2017-01-22 19:26:21 -02:00
Marcelo Fabri fd27ef8b4a Add more projects to OSS Check 2017-01-22 16:07:00 -02:00
JP Simard 4689e8891c add Swift stdlib to OSSCheck 2017-01-10 16:44:35 -08:00
JP Simard 5702ef336a disable caching, handle errors & retry if can't build for OSSCheck
fail the build if it couldn't be built even after retrying
2017-01-10 16:29:07 -08:00
JP Simard 4a9806f4c7 disable caching when running OSSCheck 2017-01-10 15:21:42 -08:00
JP Simard 27563e7963 build SwiftLint in release mode when running benchmarks
this should give us a better idea of the true performance impact
2017-01-10 12:46:27 -08:00
JP Simard 807e889b0f report lint durations in Danger when running osscheck 2017-01-06 23:02:45 -08:00
JP Simard b77343cece improve log output when running osscheck 2017-01-06 23:02:28 -08:00
JP Simard 3613cf8edd add Alamofire to osscheck 2017-01-06 23:02:18 -08:00
JP Simard 4287369914 fix a ruby style issue 2017-01-06 23:02:17 -08:00
JP Simard e5f1f32581 Danger: don't update submodules when switching branches
since `swift build` will clone them automatically if necessary.
2017-01-06 23:02:17 -08:00
JP Simard 8c985971f7 run Danger on Circle CI instead of Travis 2017-01-06 23:02:17 -08:00
JP Simard 71fae7b394 Merge pull request #1094 from realm/jp-danger-improvements
Danger improvements
2016-12-30 19:04:58 -08:00
JP Simard 68d37b834c add period after pr_title in Danger comment about changelog entries
since most PRs don't have a period at the end
2016-12-30 18:41:52 -08:00
JP Simard 2a64f0377b link to GitHub when reporting violations in Danger 2016-12-30 12:08:58 -08:00
JP Simard 29aa8e4f65 make function to extract non-empty lines 2016-12-30 12:08:09 -08:00
JP Simard 5e1686042a add more sectional comments to osscheck code 2016-12-30 12:06:49 -08:00
JP Simard ec15a6706f add Moya and Aerial to osscheck 2016-12-30 12:06:10 -08:00
JP Simard d4b4b007b9 perform OSSCheck in Dangerfile 2016-12-24 15:11:16 -08:00
Marcelo Fabri 986dcb8457 PR feedback 2016-12-24 20:22:38 -02:00
Marcelo Fabri 00c5ba0e39 Initial Danger integration
Fixes #843
2016-12-24 20:03:51 -02:00