forked from 0xced/XCDYouTubeKit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
circle.yml
33 lines (28 loc) · 1.08 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
machine:
xcode:
version: 9.0
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:
override:
# Run unit tests compiled for the release configuration with latest deployment target (catches deprecation warnings)
- make test_macOS
- make test_tvOS
- make test_iOS
# Run unit tests on iOS 9
- make test_iOS_9
# Run unit tests, generate junit reports and produce coverage data for iOS
- make test_macOS_report
- make test_tvOS_report
- make test_iOS_report
deployment:
coverage:
branch: /.*/
commands:
- bash <(curl -s https://codecov.io/bash) -J XCDYouTubeKit -X coveragepy -X gcov -X xcodeplist -X xcodepartials
- rsync -a *coverage* "${CIRCLE_ARTIFACTS}/coverage/"
- sudo pip install cpp-coveralls && coveralls --include XCDYouTubeKit