-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
67 lines (48 loc) · 2.54 KB
/
.travis.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# references:
# * https://www.objc.io/issues/6-build-tools/travis-ci/
# * https://github.com/supermarin/xcpretty#usage
#osx_image: xcode7.3
#language: objective-c
# cache: cocoapods
# podfile: Example/Podfile
# before_install:
# - gem install cocoapods # Since Travis is not always on latest version
# - pod install --project-directory=Example
#script:
#- set -o pipefail && xcodebuild test -enableCodeCoverage YES -workspace Example/#DntlBoldify.xcworkspace -scheme DntlBoldify-Example -sdk iphonesimulator9.3 #ONLY_ACTIVE_ARCH=NO | xcpretty
#- pod lib lint
#language: objective-c
#podfile: Example/Podfile
#before_install:
# - echo $(which wstest)
# - gem install cocoapods -v '1.5.3'
# - pod --version
#env:
# matrix:
# - DESTINATION="platform=iOS Simulator,OS=12.0,name=iPhone X" POD_LINT="YES"
# - DESTINATION="platform=iOS Simulator,OS=11.0.1,name=iPhone 8" POD_LINT="NO"
# - DESTINATION="platform=iOS Simulator,OS=10.1,name=iPhone 7" POD_LINT="NO"
# - DESTINATION="platform=iOS Simulator,OS=9.0,name=iPhone 6" POD_LINT="NO"
#- DESTINATION="platform=iOS Simulator,OS=8.1,name=iPhone 4S" POD_LINT="NO"
#script:
# - xctool -workspace Example/DntlBoldify.xcworkspace -scheme DntlBoldify-Example -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO
#- xctool run-tests -workspace Example/DntlBoldify.xcworkspace -scheme DntlBoldify-Example -sdk iphonesimulator #ONLY_ACTIVE_ARCH=NO
#script:
# - xctool test -workspace Example/DntlBoldify.xcworkspace -scheme DntlBoldify_Tests -sdk #iphonesimulator ONLY_ACTIVE_ARCH=NO
#- xcodebuild -workspace Example/DntlBoldify.xcworkspace -scheme {scheme} -sdk #iphonesimulator ONLY_ACTIVE_ARCH=NO
# - xcodebuild -workspace Example/DntlBoldify.xcworkspace -scheme DntlBoldify-Example -#destination "$DESTINATION" build
# - xcodebuild -workspace Example/DntlBoldify.xcworkspace -scheme DntlBoldify-Example -#destination "$DESTINATION" test
# Run `pod lib lint` if specified
# - if [ $POD_LINT == "YES" ]; then
# pod lib lint --verbose --allow-warnings;
# fi
#after_success:
# - bash <(curl -s https://codecov.io/bash) -J 'Boldify'
language: objective-c
#osx_image: xcode10.2
xcode_project: Example/DntlBoldify.xcworkspace
xcode_scheme: DntlBoldify-Example
xcode_destination: platform=iOS Simulator,OS=11.3,name=iPhone X
script:
- xcodebuild build-for-testing -workspace Example/DntlBoldify.xcworkspace -scheme DntlBoldify-Example -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO
- xctool run-tests -workspace Example/DntlBoldify.xcworkspace -scheme DntlBoldify-Example -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO