This repository has been archived by the owner on Jun 13, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 132
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Initial CircleCI * Fixes multilines * nit * nit * sudo * Custom shell for ruby * proper ruby version * ruby * ruby 2.3 * Fetch submodules * trust chruby * nit * nits * Use travis only for distributions * nits * Adds circleCI shield * Use Workfows * nit
- Loading branch information
1 parent
e04adfe
commit 20fc8e0
Showing
4 changed files
with
81 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
defaults: &defaults | ||
macos: | ||
xcode: "8.3.3" | ||
shell: /bin/bash --login -eo pipefail | ||
aliases: | ||
- &prepare | ||
| | ||
git submodule update --init --recursive | ||
gem install bundler | ||
bundle install | ||
- &filter-only-master | ||
branches: | ||
only: | ||
- master | ||
|
||
version: 2 | ||
jobs: | ||
ios: | ||
<<: *defaults | ||
steps: | ||
- checkout | ||
- run: *prepare | ||
- run: xcodebuild build -workspace ParseLiveQuery.xcworkspace -sdk iphonesimulator -scheme ParseLiveQuery-iOS -configuration Debug -destination "platform=iOS Simulator,name=iPhone 6 Plus" GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES GCC_GENERATE_TEST_COVERAGE_FILES=YES | xcpretty -c; | ||
- run: bash <(curl -s https://codecov.io/bash) | ||
- store_test_results: | ||
path: build/reports | ||
macos: | ||
<<: *defaults | ||
steps: | ||
- checkout | ||
- run: *prepare | ||
- run: xcodebuild build -workspace ParseLiveQuery.xcworkspace -sdk macosx -scheme ParseLiveQuery-OSX -configuration Debug GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES GCC_GENERATE_TEST_COVERAGE_FILES=YES | xcpretty -c; | ||
- run: bash <(curl -s https://codecov.io/bash) | ||
- store_test_results: | ||
path: build/reports | ||
demo: | ||
<<: *defaults | ||
steps: | ||
- checkout | ||
- run: *prepare | ||
- run: | | ||
xcodebuild clean -workspace ParseLiveQuery.xcworkspace -scheme LiveQueryDemo | xcpretty -c; | ||
xcodebuild build -workspace ParseLiveQuery.xcworkspace -scheme LiveQueryDemo -configuration Debug | xcpretty -c; | ||
- run: | | ||
xcodebuild clean -workspace ParseLiveQuery.xcworkspace -scheme LiveQueryDemo-ObjC | xcpretty -c; | ||
xcodebuild build -workspace ParseLiveQuery.xcworkspace -scheme LiveQueryDemo-ObjC -configuration Debug | xcpretty -c; | ||
carthage: | ||
<<: *defaults | ||
steps: | ||
- checkout | ||
- run: *prepare | ||
- run: carthage build --no-skip-current --platform macos,ios | ||
cocoapods: | ||
<<: *defaults | ||
steps: | ||
- checkout | ||
- run: *prepare | ||
- run: | | ||
bundle exec pod repo update --silent; | ||
pod lib lint ParseLiveQuery.podspec; | ||
workflows: | ||
version: 2 | ||
pr: | ||
jobs: | ||
- ios | ||
- macos | ||
- demo | ||
nightly: | ||
jobs: | ||
- cocoapods | ||
- carthage | ||
triggers: | ||
- schedule: | ||
cron: "0 1 * * *" | ||
filters: *filter-only-master |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
2.3.1 | ||
ruby-2.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters