Skip to content

Commit

Permalink
Merge all ObjC Frameworks (#1230)
Browse files Browse the repository at this point in the history
* Integrate ParseFacebookUtilsV4

* Integrate ParseTwitterUtils

* Integrate ParseUI

* Distribute all packages through subspecs
  • Loading branch information
flovilmart authored Jan 16, 2018
1 parent 2032def commit 0f5a33c
Show file tree
Hide file tree
Showing 823 changed files with 26,859 additions and 638 deletions.
124 changes: 124 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,124 @@
defaults: &defaults
macos:
xcode: "9.0"
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: bundle exec rake test:ios
- run: bash <(curl -s https://codecov.io/bash)
- store_test_results:
path: build/reports
macos:
<<: *defaults
steps:
- checkout
- run: *prepare
- run: bundle exec rake test:macos
- run: bash <(curl -s https://codecov.io/bash)
- store_test_results:
path: build/reports
facebook_utils:
<<: *defaults
steps:
- checkout
- run: *prepare
- run: bundle exec rake test:facebook_utils:ios
- run: bash <(curl -s https://codecov.io/bash)
- store_test_results:
path: build/reports
twitter_utils:
<<: *defaults
steps:
- checkout
- run: *prepare
- run: bundle exec rake test:twitter_utils:ios
- run: bash <(curl -s https://codecov.io/bash)
- store_test_results:
path: build/reports
parseui:
<<: *defaults
steps:
- checkout
- run: *prepare
- run: bundle exec rake test:parseui:all
deployment:
<<: *defaults
steps:
- checkout
- run: *prepare
- run: |
xcrun simctl create "Apple TV 1080p" com.apple.CoreSimulator.SimDeviceType.Apple-TV-1080p com.apple.CoreSimulator.SimRuntime.tvOS-11-0
bundle exec rake test:deployment
jazzy:
<<: *defaults
steps:
- checkout
- run: *prepare
- run: ./Scripts/jazzy.sh
carthage:
<<: *defaults
steps:
- checkout
- run: *prepare
- run: bundle exec rake test:carthage
cocoapods:
<<: *defaults
steps:
- checkout
- run: *prepare
- run: bundle exec rake test:cocoapods
publish-cocoapods:
<<: *defaults
steps:
- checkout
- run: *prepare
- run: ./Scripts/publish.sh

workflows:
version: 2
pr:
jobs:
- ios
- macos
- facebook_utils
- twitter_utils
- parseui
- jazzy
nightly:
jobs:
- deployment
- cocoapods:
requires:
- deployment
- carthage:
requires:
- deployment
triggers:
- schedule:
cron: "0 1 * * *"
filters: *filter-only-master
publish:
jobs:
- hold:
type: approval
filters: *filter-only-master
- publish-cocoapods:
requires:
- hold
filters: *filter-only-master
6 changes: 4 additions & 2 deletions .codecov.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
coverage:
ignore:
- Tests/.*
- Parse/Tests/.*
- ParseTwitterUtils/Tests/.*
- ParseFacebookUtils/Tests/.*
status:
patch: false
patch: true
changes: false
project:
default:
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,4 @@ docs/

## AppCode
.idea/
ParseFacebookUtils/Vendor
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.3.1
ruby-2.3
27 changes: 1 addition & 26 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,30 +11,12 @@ git:
before_install:
- git submodule update --init --recursive

stage: test
env:
global:
- LC_CTYPE=en_US.UTF-8
- LANG=en_US.UTF-8
matrix:
- TEST_TYPE=iOS
- TEST_TYPE=macOS
install: bundle install
script:
- |
RAKE_TASK_NAME=$(echo "$TEST_TYPE" | tr '[:upper:]' '[:lower:]')
bundle exec rake test:$RAKE_TASK_NAME
after_success: bash <(curl -s https://codecov.io/bash)

jobs:
include:
- stage: release
env: Deployment
install: bundle install
script:
# Create a simulator that match current SDK + name
- xcrun simctl create "Apple TV 1080p" com.apple.CoreSimulator.SimDeviceType.Apple-TV-1080p com.apple.CoreSimulator.SimRuntime.tvOS-11-2
- bundle exec rake test:deployment
- ./Scripts/jazzy.sh
deploy:
- provider: releases
Expand All @@ -55,18 +37,11 @@ jobs:
- stage: release
env: Cocoapods
install: bundle install
script: bundle exec rake test:cocoapods
script: skip
deploy:
provider: script
skip_cleanup: true
script: ./Scripts/publish.sh
on:
tags: true
all_branches: true
- stage: release
env: Carthage
install:
- bundle install
- brew update
- brew install carthage || brew upgrade carthage
script: bundle exec rake test:carthage
1 change: 0 additions & 1 deletion Configurations/Shared

This file was deleted.

Loading

0 comments on commit 0f5a33c

Please sign in to comment.