Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
679fe5a
Configure circle ci
flovilmart Jan 10, 2018
94d8cda
nits
flovilmart Jan 10, 2018
b39fe82
Use xcode 9.1
flovilmart Jan 10, 2018
6b12af5
use 9.0
flovilmart Jan 10, 2018
4a1d689
use ruby 2.3
flovilmart Jan 10, 2018
d04da40
Bumps test targets to 10.3.1
flovilmart Jan 10, 2018
01c8bee
test other config
flovilmart Jan 10, 2018
0718fb1
nits
flovilmart Jan 10, 2018
4f6e2ef
use workflow
flovilmart Jan 10, 2018
0df8e81
rename
flovilmart Jan 10, 2018
91015e5
nit
flovilmart Jan 10, 2018
6adaa26
nit
flovilmart Jan 10, 2018
ef76d53
Use proper Apple TV
flovilmart Jan 10, 2018
ca55fe4
nit
flovilmart Jan 10, 2018
d036b82
Run cocoapods and carthage nightly
flovilmart Jan 10, 2018
940174c
Integrate ParseFacebookUtils in this repo
flovilmart Jan 14, 2018
db55292
Run tests for facebook_utils
flovilmart Jan 14, 2018
d90ec50
Use 10.3.1 for tests
flovilmart Jan 14, 2018
09dcbaa
Adds TwitterUtils
flovilmart Jan 15, 2018
50ecd95
Test all
flovilmart Jan 15, 2018
0bc0b69
Upload to codecov
flovilmart Jan 15, 2018
54e72ea
nits
flovilmart Jan 15, 2018
e2ed15d
Better config
flovilmart Jan 15, 2018
41c2e44
Codecov options
flovilmart Jan 15, 2018
3dfc01f
Stores test results
flovilmart Jan 15, 2018
9c45622
Smaller matrix
flovilmart Jan 15, 2018
fabc26c
Proper test results paths
flovilmart Jan 15, 2018
a69ef55
Update Readmes
flovilmart Jan 15, 2018
f602c4c
Bump version, run travis only for deployments
flovilmart Jan 15, 2018
28ebe5d
Bumps version to 1.16.0
flovilmart Jan 15, 2018
decda41
Run Jazzy and deploy docs on master merges
flovilmart Jan 15, 2018
032120e
Update README
flovilmart Jan 15, 2018
04002c0
Better codecov configuration
flovilmart Jan 15, 2018
ea2a984
Adds ParseUI
flovilmart Jan 15, 2018
4bd679a
Fixes buildM
flovilmart Jan 15, 2018
0ffc111
Adds ability to run carthage / pods optionally
flovilmart Jan 15, 2018
941d0ed
fix
flovilmart Jan 15, 2018
344b9bc
Fix circleCI shield
flovilmart Jan 15, 2018
a4aeefb
nit
flovilmart Jan 16, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
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