-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
34 lines (29 loc) · 1.06 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
# references:
# * https://www.objc.io/issues/6-build-tools/travis-ci/
# * https://github.com/supermarin/xcpretty#usage
osx_image: xcode10.1
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
# env:
# global:
# - LC_TYPE=en_US.UTF-8
# - LANG=en_US.UTF-8
# matrix:
# - TEST_TYPE=iOS
# - TEST_TYPE=OSX
script:
# - set -o pipefail && xcodebuild test -enableCodeCoverage YES -workspace Example/ECharts_oc.xcworkspace -scheme ECharts_oc-Example -sdk iphonesimulator12.1 ONLY_ACTIVE_ARCH=NO | xcpretty
- pod lib lint
# script:
# - |
# if [ "$TEST_TYPE" = iOS ]; then
# xcodebuild clean build -workspace Example/ECharts_oc.xcworkspace -scheme ECharts_oc-Example -sdk iphonesimulator8.1 ONLY_ACTIVE_ARCH=NO | xcpretty
# elif [ "$TEST_TYPE" = OSX]; then
# xcodebuild clean build -workspace Example/ECharts_oc.xcworkspace -target ECharts_oc-Example -sdk macosx
# fi
notifications:
email: false