Skip to content

Commit 95a653e

Browse files
committed
Add new config file for circle ci 2.0
1 parent 4c2a741 commit 95a653e

File tree

2 files changed

+20
-12
lines changed

2 files changed

+20
-12
lines changed

.circleci/config.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
version: 2
2+
jobs:
3+
build-and-test:
4+
macos:
5+
xcode: "9.3.0"
6+
shell: /bin/bash --login -o pipefail
7+
steps:
8+
- checkout
9+
- run: xcodebuild -project Cache.xcodeproj -scheme "Cache-macOS" -sdk macosx clean
10+
- run: xcodebuild -project Cache.xcodeproj -scheme "Cache-macOS" -sdk macosx -enableCodeCoverage YES test
11+
- run: xcodebuild -project Cache.xcodeproj -scheme "Cache-iOS" -sdk iphonesimulator clean
12+
- run: xcodebuild -project Cache.xcodeproj -scheme "Cache-iOS" -sdk iphonesimulator -destination 'platform=iOS Simulator,OS=11.3,name=iPhone X' -enableCodeCoverage YES test
13+
- run: xcodebuild -project Cache.xcodeproj -scheme "Cache-tvOS" -destination 'platform=tvOS Simulator,name=Apple TV 1080p,OS=10.2' clean
14+
- run: xcodebuild -project Cache.xcodeproj -scheme "Cache-tvOS" -destination 'platform=tvOS Simulator,name=Apple TV 1080p,OS=10.2' -enableCodeCoverage YES test
15+
16+
workflows:
17+
version: 2
18+
build-and-test:
19+
jobs:
20+
- build-and-test

circle.yml

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
 (0)