Skip to content

Commit

Permalink
Prestart iOS simulator and run podspec tests on PRs as well
Browse files Browse the repository at this point in the history
  • Loading branch information
grabbou committed Oct 13, 2017
1 parent b43e749 commit 03f7aff
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,9 @@ jobs:
<<: *defaults
macos:
xcode: "9.0"
dependencies:
pre:
- xcrun instruments -w "iPhone 5s (10.3.1)" || true
steps:
- checkout
- run: *install_node_dependencies
Expand All @@ -146,6 +149,9 @@ jobs:
<<: *defaults
macos:
xcode: "9.0"
dependencies:
pre:
- xcrun instruments -w "Apple TV 1080p (10.0)" || true
steps:
- checkout
- run: *install_node_dependencies
Expand All @@ -156,6 +162,9 @@ jobs:
<<: *defaults
macos:
xcode: "9.0"
dependencies:
pre:
- xcrun instruments -w "iPhone 5s (10.3.1)" || true
steps:
- checkout
- run: *install_node_dependencies
Expand All @@ -169,12 +178,7 @@ jobs:
steps:
- checkout
- run: *install_node_dependencies
- run: |
if [ "$CI_PULL_REQUEST" ]; then
./scripts/process-podspecs.sh
else
echo "Skipping testing podspec."
fi
- run: ./scripts/process-podspecs.sh

test-website:
<<: *defaults
Expand Down Expand Up @@ -429,5 +433,5 @@ workflows:
jobs:
- test-objc-ios
- test-objc-tvos
- test-objc-e2e
- test-podspec
- test-objc-e2e

0 comments on commit 03f7aff

Please sign in to comment.