forked from krzysztofzablocki/Sourcery
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcircle.yml
20 lines (19 loc) · 829 Bytes
/
circle.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
machine:
xcode:
version: 8.3
environment:
XCODE_WORKSPACE: Sourcery.xcworkspace
XCODE_SCHEME: Sourcery
post:
- ln -s /Applications/Xcode-8.3.app /Applications/Xcode.app
- brew install sourcekitten
test:
override:
- set -o pipefail
- xcodebuild -workspace "$XCODE_WORKSPACE" -scheme "$XCODE_SCHEME" ONLY_ACTIVE_ARCH=NO CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO build | xcpretty
- xcodebuild -workspace "$XCODE_WORKSPACE" -scheme "$XCODE_SCHEME" ONLY_ACTIVE_ARCH=NO CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO test | tee $CIRCLE_ARTIFACTS/xcode_raw.log | xcpretty --color --report junit --output $CIRCLE_TEST_REPORTS/xcode/results.xml
- swift build
pre:
- bash <(curl -s https://codecov.io/bash)
- rake validate_docs
- bundle exec danger || true