forked from 0xced/XCDYouTubeKit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcircle.yml
36 lines (30 loc) · 1.11 KB
/
circle.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
machine:
xcode:
version: 8.2
dependencies:
pre:
- mdfind "kMDItemCFBundleIdentifier == 'com.apple.dt.Xcode'" | awk '{print "echo "$1" && defaults read "$1"/Contents/Info.plist CFBundleShortVersionString\0"}' | xargs -0 bash -c
- xcodebuild -version -sdk
- xcrun simctl list
- sudo gem install scan --no-rdoc --no-ri --no-document --quiet
test:
pre:
- open -b com.apple.iphonesimulator
override:
# Run unit tests, generate junit reports and produce coverage data for iOS
- make test_macOS_report
- make test_iOS_report
- make test_tvOS_report
# Run unit tests compiled for the release configuration with latest deployment target (catches deprecation warnings)
- make test_macOS
- make test_iOS
- make test_tvOS
# Run unit tests on iOS 9
- make test_iOS_9
deployment:
coverage:
branch: [develop, master]
commands:
- bash <(curl -s https://codecov.io/bash) -J XCDYouTubeKit -X coveragepy -X gcov
- rsync -a *.coverage.txt "${CIRCLE_ARTIFACTS}/coverage/"
- sudo pip install cpp-coveralls && coveralls --include XCDYouTubeKit