Skip to content

Commit 9e6a5dd

Browse files
committed
Setup Circle
1 parent 2605694 commit 9e6a5dd

File tree

5 files changed

+27
-17
lines changed

5 files changed

+27
-17
lines changed

.slather.yml

-4
This file was deleted.

.travis.yml

-13
This file was deleted.

bin/bootstrap

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh
2+
3+
carthage bootstrap
4+
cp Cartfile.resolved Carthage

bin/bootstrap-if-needed

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/bin/sh
2+
3+
if ! cmp -s Cartfile.resolved Carthage/Cartfile.resolved; then
4+
bin/bootstrap
5+
fi

circle.yml

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
machine:
2+
xcode:
3+
version: "9.0"
4+
5+
dependencies:
6+
override:
7+
- bin/bootstrap-if-needed
8+
cache_directories:
9+
- "Carthage"
10+
11+
test:
12+
override:
13+
- set -o pipefail && xcodebuild -project When.xcodeproj -scheme "When-macOS" -sdk macosx clean build
14+
- set -o pipefail && xcodebuild -project When.xcodeproj -scheme "When-macOS" -sdk macosx -enableCodeCoverage YES test
15+
- set -o pipefail && xcodebuild -project When.xcodeproj -scheme "When-iOS" -sdk iphonesimulator clean build
16+
- set -o pipefail && xcodebuild -project When.xcodeproj -scheme "When-iOS" -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 8,OS=11.0' -enableCodeCoverage YES test
17+
- set -o pipefail && xcodebuild -project When.xcodeproj -scheme "When-tvOS" -destination 'platform=tvOS Simulator,name=Apple TV,OS=11.0' clean build
18+
- set -o pipefail && xcodebuild -project When.xcodeproj -scheme "When-tvOS" -destination 'platform=tvOS Simulator,name=Apple TV,OS=11.0' -enableCodeCoverage YES test

0 commit comments

Comments
 (0)