forked from Moya/Moya
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
125 additions
and
66 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,77 @@ | ||
version: 2 | ||
jobs: | ||
build: | ||
working_directory: ~/Moya/Moya | ||
parallelism: 1 | ||
shell: /bin/bash --login | ||
environment: | ||
CIRCLE_ARTIFACTS: /tmp/circleci-artifacts | ||
CIRCLE_TEST_REPORTS: /tmp/circleci-test-results | ||
LANG: en_US.UTF-8 | ||
BUNDLE_PATH: vendor/bundle | ||
macos: | ||
xcode: '9.2.0' | ||
steps: | ||
- checkout | ||
- run: mkdir -p $CIRCLE_ARTIFACTS $CIRCLE_TEST_REPORTS | ||
- restore_cache: | ||
keys: | ||
- v1-dep-{{ .Branch }}- | ||
- v1-dep-master- | ||
- v1-dep- | ||
- run: | ||
name: Set Ruby Version | ||
command: echo "ruby-2.4" > ~/.ruby-version | ||
- run: | ||
name: Fetch CocoaPods Specs | ||
command: curl -sS https://cocoapods-specs.circleci.com/fetch-cocoapods-repo-from-s3.sh | bash | ||
- run: | ||
name: Update Homebrew | ||
command: brew update | ||
- run: | ||
name: Install Swiftlint | ||
command: brew install swiftlint | ||
- run: | ||
name: Install Ruby Dependencies | ||
command: bundle check || bundle install | ||
environment: | ||
BUNDLE_JOBS: 4 | ||
BUNDLE_RETRY: 3 | ||
- run: | ||
name: Bootstrap Carthage | ||
command: scripts/bootstrap-if-needed.sh | ||
- save_cache: | ||
key: v1-dep-{{ .Branch }}-{{ epoch }} | ||
paths: | ||
- vendor/bundle | ||
- Carthage | ||
- run: | ||
name: Test on iOS | ||
command: rake test:ios | ||
- run: | ||
name: Test on macOS | ||
command: rake test:macos | ||
- run: | ||
name: Test on tvOS | ||
command: rake test:tvos | ||
- run: | ||
name: Test with Carthage | ||
command: rake test:carthage | ||
- run: | ||
name: Build Example Project | ||
command: rake build_example | ||
- run: | ||
name: Run Danger | ||
command: bundle exec danger | ||
- run: | ||
name: Send Code Coverage to Codecov.io | ||
command: bash <(curl -s https://codecov.io/bash) -J Moya | ||
- run: | ||
name: Store Xcode Activity Log | ||
command: find $HOME/Library/Developer/Xcode/DerivedData -name '*.xcactivitylog' -exec cp {} $CIRCLE_ARTIFACTS/xcactivitylog \; || true | ||
- store_test_results: | ||
path: /tmp/circleci-test-results | ||
- store_artifacts: | ||
path: /tmp/circleci-artifacts | ||
- store_artifacts: | ||
path: /tmp/circleci-test-results |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -63,8 +63,8 @@ end | |
|
||
def device_os | ||
return { | ||
ios: "11.0.1", | ||
tvos: "11.0" | ||
ios: "11.2", | ||
tvos: "11.2" | ||
} | ||
end | ||
|
||
|
This file was deleted.
Oops, something went wrong.