Skip to content

Commit 989dcd4

Browse files
authored
Update .travis.yml
1 parent b3a9ff0 commit 989dcd4

File tree

1 file changed

+5
-19
lines changed

1 file changed

+5
-19
lines changed

xxPROJECTxNAMExx/.travis.yml

+5-19
Original file line numberDiff line numberDiff line change
@@ -2,32 +2,18 @@ os: osx
22
osx_image: xcode11.1
33
env:
44
global:
5-
- LC_CTYPE=en_US.UTF-8
6-
- LANG=en_US.UTF-8
7-
- WORKSPACE="__PROJECT_NAME__.xcworkspace"
8-
- IOS_FRAMEWORK_SCHEME="xxPROJECTxNAMExx"
5+
- WORKSPACE="./iOS Example/iOS Example.xcworkspace"
6+
- IOS_FRAMEWORK_SCHEME="iOS Example"
97
- EXAMPLE_SCHEME="iOS Example"
108
matrix:
11-
- DESTINATION="OS=12.2,name=iPhone XS" SCHEME="$IOS_FRAMEWORK_SCHEME" POD_LINT="NO"
12-
- DESTINATION="OS=11.4,name=iPhone X" SCHEME="$IOS_FRAMEWORK_SCHEME" POD_LINT="NO"
13-
- DESTINATION="OS=10.3.1,name=iPhone 7 Plus" SCHEME="$IOS_FRAMEWORK_SCHEME" POD_LINT="NO"
14-
- DESTINATION="OS=10.3.1,name=iPhone 7 Plus" SCHEME="$IOS_FRAMEWORK_SCHEME" POD_LINT="YES"
9+
- DESTINATION="OS=13.1,name=iPhone 11"
10+
SCHEME="$IOS_FRAMEWORK_SCHEME"
1511
script:
1612
- set -o pipefail
1713
- xcodebuild -version
1814
- xcodebuild -showsdks
1915
- xcodebuild -list
2016
- xcodebuild -workspace "$WORKSPACE" -list
2117

22-
# Build Framework in Release and Run Tests
23-
- xcodebuild -workspace "$WORKSPACE" -scheme "$SCHEME" -destination "$DESTINATION" -configuration Release ONLY_ACTIVE_ARCH=NO ENABLE_TESTABILITY=YES test | xcpretty;
24-
2518
# Build Example in Debug
26-
- xcodebuild -workspace "$WORKSPACE" -scheme "$EXAMPLE_SCHEME" -sdk "$SDK" -destination "$DESTINATION" -configuration Debug ONLY_ACTIVE_ARCH=NO build | xcpretty -c
27-
28-
# Run `pod lib lint` if specified
29-
- if [ $POD_LINT == "YES" ]; then
30-
pod lib lint;
31-
fi
32-
33-
- CheckCocoaPodsQualityIndexes.rb xxPROJECTxNAMExx
19+
- xcodebuild -workspace "$WORKSPACE" -scheme "$EXAMPLE_SCHEME" -destination "$DESTINATION" -configuration Debug ONLY_ACTIVE_ARCH=NO build | xcpretty -c

0 commit comments

Comments
 (0)