Skip to content
This repository was archived by the owner on Feb 5, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 15 additions & 33 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,35 +1,17 @@
version: 2
jobs:
build_and_test:
macos:
xcode: "10.1.0"
steps:
- checkout
- restore_cache:
keys:
- wordpress-authenticator-ios-{{ checksum "Gemfile.lock" }}-{{ checksum "Podfile.lock" }}
- run:
name: Bundle install
command: bundle install --path=vendor/bundle
- run:
name: Fetch CocoaPods Specs
command: curl https://cocoapods-specs.circleci.com/fetch-cocoapods-repo-from-s3.sh | bash -s cf
- run:
name: Pod Install
command: bundle exec pod install --repo-update
environment:
COCOAPODS_DISABLE_STATS: true
- save_cache:
key: wordpress-authenticator-ios-{{ checksum "Gemfile.lock" }}-{{ checksum "Podfile.lock" }}
paths:
- Pods/
- vendor/bundle
- run:
name: Test
command: bundle exec pod lib lint
version: 2.1

orbs:
# This uses the iOS Orb located at https://github.com/wordpress-mobile/circleci-orbs
ios: wordpress-mobile/ios@0.0.10

workflows:
version: 2
wordpress_ios:
test_and_validate:
jobs:
- build_and_test

- ios/test:
name: Test
workspace: WordPressAuthenticator.xcworkspace
scheme: WordPressAuthenticator
destination: "platform=iOS Simulator,name=iPhone XS,OS=latest"
- ios/validate-podspec:
name: Validate Podspec
podspec-path: WordPressAuthenticator.podspec
3 changes: 3 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
source 'https://rubygems.org' do
gem 'cocoapods', '1.5.3'
gem 'cocoapods-check'
gem 'cocoapods-repo-update'
gem 'xcpretty'
end
10 changes: 10 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ GEM
nap (~> 1.0)
ruby-macho (~> 1.1)
xcodeproj (>= 1.5.7, < 2.0)
cocoapods-check (1.0.2)
cocoapods (~> 1.0)
cocoapods-core (1.5.3)
activesupport (>= 4.0.2, < 6)
fuzzy_match (~> 2.0.4)
Expand All @@ -36,6 +38,8 @@ GEM
cocoapods-downloader (1.2.2)
cocoapods-plugins (1.0.0)
nap
cocoapods-repo-update (0.0.4)
cocoapods (~> 1.0, >= 1.3.0)
cocoapods-search (1.0.0)
cocoapods-stats (1.0.0)
cocoapods-trunk (1.3.1)
Expand All @@ -55,6 +59,7 @@ GEM
nanaimo (0.2.6)
nap (1.1.0)
netrc (0.11.0)
rouge (2.0.7)
ruby-macho (1.3.1)
thread_safe (0.3.6)
tzinfo (1.2.5)
Expand All @@ -65,12 +70,17 @@ GEM
claide (>= 1.0.2, < 2.0)
colored2 (~> 3.1)
nanaimo (~> 0.2.6)
xcpretty (0.3.0)
rouge (~> 2.0.7)

PLATFORMS
ruby

DEPENDENCIES
cocoapods (= 1.5.3)!
cocoapods-check!
cocoapods-repo-update!
xcpretty!

BUNDLED WITH
1.17.2
2 changes: 1 addition & 1 deletion Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ inhibit_all_warnings!
use_frameworks!

platform :ios, '10.0'

plugin 'cocoapods-repo-update'

## WordPress Authenticator
## =======================
Expand Down
2 changes: 1 addition & 1 deletion Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,6 @@ SPEC CHECKSUMS:
WordPressUI: 44fe43a9c5c504dfd534286e39e1ce6ebcd69ff5
wpxmlrpc: 6ba55c773cfa27083ae4a2173e69b19f46da98e2

PODFILE CHECKSUM: 1b7831d7a214edf6e85e0d3e3ead39484c4058d4
PODFILE CHECKSUM: e3a4b6f748b0b420639d2ee45f7fe40d82bd011d

COCOAPODS: 1.5.3