Commit 81b6113b authored by Orta's avatar Orta Committed by GitHub

Merge pull request #6909 from dnkoutso/add_skip_tests_to_repo_ppush

Add `--skip-tests` support `push` to push command
parents d577cbc4 ccc4d069
......@@ -12,8 +12,9 @@ To install release candidates run `[sudo] gem install cocoapods --pre`
##### Bug Fixes
* None.
* Add `--skip-tests` support `push` to push command
[Dimitris Koutsogiorgas](https://github.com/dnkoutso)
[#6893](https://github.com/CocoaPods/CocoaPods/pull/6893)
## 1.3.0.rc.1 (2017-07-27)
......
......@@ -30,6 +30,7 @@ module Pod
['--local-only', 'Does not perform the step of pushing REPO to its remote'],
['--no-private', 'Lint includes checks that apply only to public repos'],
['--skip-import-validation', 'Lint skips validating that the pod can be imported'],
['--skip-tests', 'Lint skips building and running tests during validation'],
['--commit-message="Fix bug in pod"', 'Add custom commit message. ' \
'Opens default editor if no commit message is specified.'],
['--use-json', 'Push JSON spec to repo'],
......@@ -52,6 +53,7 @@ module Pod
@use_json = argv.flag?('use-json')
@swift_version = argv.option('swift-version', nil)
@skip_import_validation = argv.flag?('skip-import-validation', false)
@skip_tests = argv.flag?('skip-tests', false)
super
end
......@@ -130,6 +132,7 @@ module Pod
validator.ignore_public_only_results = @private
validator.swift_version = @swift_version
validator.skip_import_validation = @skip_import_validation
validator.skip_tests = @skip_tests
begin
validator.validate
rescue => e
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment