mirror of
https://github.com/modo-studio/SugarRecord.git
synced 2024-10-05 18:39:45 +03:00
Add danger
This commit is contained in:
parent
098910e1b6
commit
2fe18acbce
28
.travis.yml
28
.travis.yml
@ -1,26 +1,12 @@
|
||||
osx_image: xcode7.3
|
||||
language: objective-c
|
||||
xcode_sdk: iphonesimulator9.3
|
||||
notifications:
|
||||
email: false
|
||||
osx_image: xcode7.3
|
||||
before_install:
|
||||
- brew bundle
|
||||
- bundle install
|
||||
xcode_sdk: iphonesimulator
|
||||
install: true
|
||||
env:
|
||||
global:
|
||||
- LC_CTYPE=en_US.UTF-8
|
||||
- LANG=en_US.UTF-8
|
||||
- gem install bundler
|
||||
- bundle install
|
||||
- git remote set-url origin "https://${GITHUB_TOKEN}@github.com/carambalabs/SugarRecord.git"
|
||||
script:
|
||||
- set -o pipefail
|
||||
- xcodebuild -version
|
||||
- xcodebuild -showsdks
|
||||
- bundle exec fastlane ci
|
||||
# deploy:
|
||||
# provider: script
|
||||
# script:
|
||||
# - bundle install
|
||||
# - bundle exec fastlane deploy
|
||||
# on:
|
||||
# branch: master
|
||||
- bundle exec fastlane travis
|
||||
after_success:
|
||||
- bash <(curl -s https://codecov.io/bash)
|
@ -1,3 +1,11 @@
|
||||
## Changelog
|
||||
|
||||
### 2.3.0
|
||||
- Add Danger.
|
||||
- Remove Carthage support.
|
||||
- Bump Realm version to 1.0.2.
|
||||
- Update Fastlane setup.
|
||||
|
||||
### Version 2.2.7
|
||||
- Add Observable feature https://github.com/pepibumur/SugarRecord/pull/243
|
||||
- Fix a CoreDataStorage `journal_mode` property not set properly.
|
||||
|
13
Dangerfile
Normal file
13
Dangerfile
Normal file
@ -0,0 +1,13 @@
|
||||
has_library_changes = !git.modified_files.grep(/CarambaKit/).empty?
|
||||
|
||||
# Changelog
|
||||
if !git.modified_files.include?("CHANGELOG.md") && has_library_changes
|
||||
fail("Please include a CHANGELOG entry. \n")
|
||||
end
|
||||
|
||||
# The coding love
|
||||
the_coding_love.random
|
||||
|
||||
# Junit
|
||||
junit.parse "fastlane/test_output/report.junit"
|
||||
junit.report
|
5
Gemfile
5
Gemfile
@ -2,3 +2,8 @@ source 'https://rubygems.org'
|
||||
|
||||
gem "fastlane"
|
||||
gem "cocoapods"
|
||||
|
||||
# Danger
|
||||
gem "danger"
|
||||
gem "danger-the_coding_love"
|
||||
gem "danger-junit"
|
49
Gemfile.lock
49
Gemfile.lock
@ -13,6 +13,10 @@ GEM
|
||||
fastlane_core (>= 0.50.3, < 1.0.0)
|
||||
spaceship (>= 0.32.0, < 1.0.0)
|
||||
claide (1.0.0)
|
||||
claide-plugins (0.9.1)
|
||||
cork
|
||||
nap
|
||||
open4 (~> 1.3)
|
||||
cocoapods (1.0.1)
|
||||
activesupport (>= 4.0.2)
|
||||
claide (>= 1.0.0, < 2.0)
|
||||
@ -47,11 +51,31 @@ GEM
|
||||
colored (1.2)
|
||||
commander (4.4.0)
|
||||
highline (~> 1.7.2)
|
||||
cork (0.2.0)
|
||||
colored (~> 1.2)
|
||||
credentials_manager (0.16.0)
|
||||
colored
|
||||
commander (>= 4.3.5)
|
||||
highline (>= 1.7.1)
|
||||
security
|
||||
danger (3.1.0)
|
||||
claide (~> 1.0)
|
||||
claide-plugins (> 0.9.0)
|
||||
colored (~> 1.2)
|
||||
cork (~> 0.1)
|
||||
faraday (~> 0.9)
|
||||
faraday-http-cache (~> 1.0)
|
||||
git (~> 1)
|
||||
gitlab (~> 3.7.0)
|
||||
kramdown (~> 1.5)
|
||||
octokit (~> 4.2)
|
||||
terminal-table (~> 1)
|
||||
danger-junit (0.7.1)
|
||||
danger (> 2.0)
|
||||
ox (~> 2.0)
|
||||
danger-the_coding_love (0.0.3)
|
||||
danger (~> 3.0)
|
||||
nokogiri
|
||||
deliver (1.13.3)
|
||||
credentials_manager (>= 0.16.0, < 1.0.0)
|
||||
fastimage (~> 1.6)
|
||||
@ -68,6 +92,8 @@ GEM
|
||||
faraday-cookie_jar (0.0.6)
|
||||
faraday (>= 0.7.4)
|
||||
http-cookie (~> 1.0.0)
|
||||
faraday-http-cache (1.3.1)
|
||||
faraday (~> 0.8)
|
||||
faraday_middleware (0.10.0)
|
||||
faraday (>= 0.7.4, < 0.10)
|
||||
fastimage (1.6.8)
|
||||
@ -123,6 +149,10 @@ GEM
|
||||
mini_magick (~> 4.5.1)
|
||||
fuzzy_match (2.0.4)
|
||||
gh_inspector (1.0.2)
|
||||
git (1.3.0)
|
||||
gitlab (3.7.0)
|
||||
httparty (~> 0.13.0)
|
||||
terminal-table
|
||||
google-api-client (0.9.13)
|
||||
addressable (~> 2.3)
|
||||
googleauth (~> 0.5)
|
||||
@ -149,11 +179,15 @@ GEM
|
||||
highline (1.7.8)
|
||||
http-cookie (1.0.2)
|
||||
domain_name (~> 0.5)
|
||||
httparty (0.13.7)
|
||||
json (~> 1.8)
|
||||
multi_xml (>= 0.5.2)
|
||||
httpclient (2.8.2.3)
|
||||
hurley (0.2)
|
||||
i18n (0.7.0)
|
||||
json (1.8.3)
|
||||
jwt (1.5.4)
|
||||
kramdown (1.12.0)
|
||||
krausefx-shenzhen (0.14.10)
|
||||
commander (>= 4.3, < 5.0)
|
||||
dotenv (>= 0.7)
|
||||
@ -182,6 +216,7 @@ GEM
|
||||
mime-types-data (~> 3.2015)
|
||||
mime-types-data (3.2016.0521)
|
||||
mini_magick (4.5.1)
|
||||
mini_portile2 (2.1.0)
|
||||
minitest (5.9.0)
|
||||
molinillo (0.4.5)
|
||||
multi_json (1.12.1)
|
||||
@ -192,7 +227,14 @@ GEM
|
||||
net-ssh (>= 2.6.5)
|
||||
net-ssh (3.2.0)
|
||||
netrc (0.7.8)
|
||||
nokogiri (1.6.8)
|
||||
mini_portile2 (~> 2.1.0)
|
||||
pkg-config (~> 1.1.7)
|
||||
octokit (4.3.0)
|
||||
sawyer (~> 0.7.0, >= 0.5.3)
|
||||
open4 (1.3.4)
|
||||
os (0.9.6)
|
||||
ox (2.4.4)
|
||||
pem (1.3.2)
|
||||
fastlane_core (>= 0.43.1, < 1.0.0)
|
||||
spaceship (>= 0.26.2, < 1.0.0)
|
||||
@ -201,6 +243,7 @@ GEM
|
||||
fastlane_core (>= 0.46.2, < 1.0.0)
|
||||
spaceship (>= 0.29.0, < 1.0.0)
|
||||
terminal-table (~> 1.4.5)
|
||||
pkg-config (1.1.7)
|
||||
plist (3.1.0)
|
||||
produce (1.2.0)
|
||||
fastlane_core (>= 0.30.0, < 1.0.0)
|
||||
@ -210,6 +253,9 @@ GEM
|
||||
retriable (2.1.0)
|
||||
rouge (1.11.1)
|
||||
rubyzip (1.1.7)
|
||||
sawyer (0.7.0)
|
||||
addressable (>= 2.3.5, < 2.5)
|
||||
faraday (~> 0.8, < 0.10)
|
||||
scan (0.11.3)
|
||||
fastlane_core (>= 0.50.0, < 1.0.0)
|
||||
slack-notifier (~> 1.3)
|
||||
@ -274,6 +320,9 @@ PLATFORMS
|
||||
|
||||
DEPENDENCIES
|
||||
cocoapods
|
||||
danger
|
||||
danger-junit
|
||||
danger-the_coding_love
|
||||
fastlane
|
||||
|
||||
BUNDLED WITH
|
||||
|
@ -32,16 +32,4 @@ lane :push do
|
||||
sh("git fetch --tags")
|
||||
push_to_git_remote(remote_branch: 'master', force: false, tags: true)
|
||||
pod_push(allow_warnings: true, verbose: true)
|
||||
end
|
||||
|
||||
# desc "Builds all the project targets"
|
||||
# lane :build do
|
||||
# xcodebuild(workspace: WORKSPACE, scheme: 'SugarRecord-CoreData-iOS', configuration: "Debug", build_settings: {"ONLY_ACTIVE_ARCH" => "NO", "CODE_SIGNING_REQUIRED" => "NO", "CODE_SIGN_IDENTITY" => "" } )
|
||||
# xcodebuild(workspace: WORKSPACE, scheme: 'SugarRecord-Realm-iOS', configuration: "Debug", build_settings: {"ONLY_ACTIVE_ARCH" => "NO", "CODE_SIGNING_REQUIRED" => "NO", "CODE_SIGN_IDENTITY" => "" } )
|
||||
# xcodebuild(workspace: WORKSPACE, scheme: 'SugarRecord-CoreData-OSX', configuration: "Debug", build_settings: {"ONLY_ACTIVE_ARCH" => "NO", "CODE_SIGNING_REQUIRED" => "NO", "CODE_SIGN_IDENTITY" => "" } )
|
||||
# xcodebuild(workspace: WORKSPACE, scheme: 'SugarRecord-Realm-OSX', configuration: "Debug", build_settings: {"ONLY_ACTIVE_ARCH" => "NO", "CODE_SIGNING_REQUIRED" => "NO", "CODE_SIGN_IDENTITY" => "" } )
|
||||
# xcodebuild(workspace: WORKSPACE, scheme: 'SugarRecord-CoreData-watchOS', configuration: "Debug", build_settings: {"ONLY_ACTIVE_ARCH" => "NO", "CODE_SIGNING_REQUIRED" => "NO", "CODE_SIGN_IDENTITY" => "" } )
|
||||
# xcodebuild(workspace: WORKSPACE, scheme: 'SugarRecord-Realm-watchOS', configuration: "Debug", build_settings: {"ONLY_ACTIVE_ARCH" => "NO", "CODE_SIGNING_REQUIRED" => "NO", "CODE_SIGN_IDENTITY" => "" } )
|
||||
# xcodebuild(workspace: WORKSPACE, scheme: 'SugarRecord-CoreData-tvOS', configuration: "Debug", build_settings: {"ONLY_ACTIVE_ARCH" => "NO", "CODE_SIGNING_REQUIRED" => "NO", "CODE_SIGN_IDENTITY" => "" } )
|
||||
# xcodebuild(workspace: WORKSPACE, scheme: 'SugarRecord-Realm-tvOS', configuration: "Debug", build_settings: {"ONLY_ACTIVE_ARCH" => "NO", "CODE_SIGNING_REQUIRED" => "NO", "CODE_SIGN_IDENTITY" => "" } )
|
||||
# end
|
||||
end
|
@ -5,34 +5,29 @@ fastlane documentation
|
||||
sudo gem install fastlane
|
||||
```
|
||||
# Available Actions
|
||||
### setup
|
||||
### pods
|
||||
```
|
||||
fastlane setup
|
||||
fastlane pods
|
||||
```
|
||||
Setup everything needed to work on the project
|
||||
|
||||
### tests
|
||||
```
|
||||
fastlane tests
|
||||
```
|
||||
Runs the tests suite
|
||||
### build
|
||||
|
||||
### travis
|
||||
```
|
||||
fastlane build
|
||||
```
|
||||
Builds all the project targets
|
||||
### ci
|
||||
```
|
||||
fastlane ci
|
||||
fastlane travis
|
||||
```
|
||||
|
||||
### deploy
|
||||
### push
|
||||
```
|
||||
fastlane deploy
|
||||
fastlane push
|
||||
```
|
||||
|
||||
|
||||
----
|
||||
|
||||
This README.md is auto-generated and will be re-generated every time to run [fastlane](https://fastlane.tools).
|
||||
This README.md is auto-generated and will be re-generated every time [fastlane](https://fastlane.tools) is run.
|
||||
More information about fastlane can be found on [https://fastlane.tools](https://fastlane.tools).
|
||||
The documentation of fastlane can be found on [GitHub](https://github.com/fastlane/fastlane/tree/master/fastlane).
|
Loading…
Reference in New Issue
Block a user