Skip to content

Commit

Permalink
Use circleci-matrix to test on iOS + tvOS + macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
0xced committed Oct 14, 2016
1 parent 92bd892 commit c737eb9
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .circleci-matrix.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
env:
- SCAN_DESTINATION="platform=iOS Simulator,name=iPhone 5s"
- SCAN_DESTINATION="platform=tvOS Simulator,name=Apple TV 1080p"
- SCAN_DESTINATION="platform=OS X"

command:
- scan --custom_report_file_name "test-results.xml"
4 changes: 3 additions & 1 deletion circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ dependencies:
- sudo gem uninstall bundler -v '>1.12.5' --force || echo "bundler >1.12.5 is not installed"
- sudo gem install bundler -v 1.12.5 --no-rdoc --no-ri --no-document --quiet
- sudo gem install scan --no-rdoc --no-ri --no-document --quiet
- curl -fsSL https://git.io/v2Ifn | bash # https://github.com/michaelcontento/circleci-matrix#installation

test:
override:
- scan --custom_report_file_name "test-results.xml"
- circleci-matrix:
parallel: true

0 comments on commit c737eb9

Please sign in to comment.