@@ -4,9 +4,9 @@ DERIVED_DATA=${1:-/tmp/PinLayout}
44set -o pipefail &&
55rm -rf $DERIVED_DATA &&
66
7- echo " ===============================" &&
8- echo " fastlane iOS travis" &&
9- echo " ===============================" &&
7+ # echo "===============================" &&
8+ # echo "fastlane iOS travis" &&
9+ # echo "===============================" &&
1010# time bundle exec fastlane ios travis &&
1111
1212# echo "===============================" &&
@@ -15,40 +15,79 @@ echo "===============================" &&
1515# time bundle exec fastlane mac travis &&
1616
1717
18+ echo " ===============================" &&
19+ echo " PinLayout-iOS" &&
20+ echo " ===============================" &&
21+ time xcodebuild build -project PinLayout.xcodeproj -scheme PinLayout-iOS \
22+ -derivedDataPath $DERIVED_DATA -sdk iphonesimulator12.0 \
23+ -destination ' platform=iOS Simulator,name=iPhone 6,OS=9.3' \
24+ | xcpretty &&
25+
26+ echo " ===============================" &&
27+ echo " PinLayout-tvOS" &&
28+ echo " ===============================" &&
29+ time xcodebuild build -project PinLayout.xcodeproj -scheme PinLayout-tvOS \
30+ -derivedDataPath $DERIVED_DATA -sdk appletvsimulator12.0 \
31+ -destination ' platform=tvOS Simulator,name=Apple TV 4K,OS=12.0' \
32+ | xcpretty &&
33+
34+ echo " ===============================" &&
35+ echo " PinLayout-macOS" &&
36+ echo " ===============================" &&
37+ time xcodebuild build -project PinLayout.xcodeproj -scheme PinLayout-macOS \
38+ -derivedDataPath $DERIVED_DATA -sdk macosx10.14 \
39+ | xcpretty &&
40+
41+ echo " ===============================" &&
42+ echo " PinLayoutSample" &&
43+ echo " ===============================" &&
44+ time xcodebuild build test -workspace PinLayout.xcworkspace -scheme PinLayoutSample \
45+ -derivedDataPath $DERIVED_DATA -sdk iphonesimulator12.0 \
46+ -destination ' platform=iOS Simulator,name=iPhone 6,OS=9.3' \
47+ | xcpretty &&
48+
49+
1850echo " ===============================" &&
1951echo " iOS unit test" &&
2052echo " ===============================" &&
21- time xcodebuild build test -workspace PinLayout.xcworkspace -scheme PinLayout-iOS -derivedDataPath $DERIVED_DATA -sdk iphonesimulator12.0 \
53+ time xcodebuild build test -workspace PinLayout.xcworkspace -scheme PinLayout-iOS \
54+ -derivedDataPath $DERIVED_DATA -sdk iphonesimulator12.0 \
2255 -destination ' platform=iOS Simulator,name=iPhone 6,OS=9.3' \
2356 | xcpretty &&
2457
25- time xcodebuild build test -workspace PinLayout.xcworkspace -scheme PinLayout-iOS -derivedDataPath $DERIVED_DATA -sdk iphonesimulator12.0 \
58+ time xcodebuild build test -workspace PinLayout.xcworkspace -scheme PinLayout-iOS \
59+ -derivedDataPath $DERIVED_DATA -sdk iphonesimulator12.0 \
2660 -destination ' platform=iOS Simulator,name=iPhone 7,OS=10.2' \
2761 | xcpretty &&
2862
29- time xcodebuild build test -workspace PinLayout.xcworkspace -scheme PinLayout-iOS -derivedDataPath $DERIVED_DATA -sdk iphonesimulator12.0 \
63+ time xcodebuild build test -workspace PinLayout.xcworkspace -scheme PinLayout-iOS \
64+ -derivedDataPath $DERIVED_DATA -sdk iphonesimulator12.0 \
3065 -destination ' platform=iOS Simulator,name=iPhone 8,OS=11.4' \
3166 | xcpretty &&
3267
33- time xcodebuild build test -workspace PinLayout.xcworkspace -scheme PinLayout-iOS -derivedDataPath $DERIVED_DATA -sdk iphonesimulator12.0 \
68+ time xcodebuild build test -workspace PinLayout.xcworkspace -scheme PinLayout-iOS \
69+ -derivedDataPath $DERIVED_DATA -sdk iphonesimulator12.0 \
3470 -destination ' platform=iOS Simulator,name=iPhone XS,OS=12.0' \
3571 | xcpretty &&
3672
3773echo " ===============================" &&
3874echo " tvOS unit test" &&
3975echo " ===============================" &&
40- time xcodebuild build test -workspace PinLayout.xcworkspace -scheme PinLayout-tvOS -derivedDataPath $DERIVED_DATA -sdk appletvsimulator12.0 \
76+ time xcodebuild build test -workspace PinLayout.xcworkspace -scheme PinLayout-tvOS \
77+ -derivedDataPath $DERIVED_DATA -sdk appletvsimulator12.0 \
4178 -destination ' platform=tvOS Simulator,name=Apple TV 4K,OS=11.4' \
4279 | xcpretty &&
4380
44- time xcodebuild build test -workspace PinLayout.xcworkspace -scheme PinLayout-tvOS -derivedDataPath $DERIVED_DATA -sdk appletvsimulator12.0 \
81+ time xcodebuild build test -workspace PinLayout.xcworkspace -scheme PinLayout-tvOS \
82+ -derivedDataPath $DERIVED_DATA -sdk appletvsimulator12.0 \
4583 -destination ' platform=tvOS Simulator,name=Apple TV 4K,OS=12.0' \
4684 | xcpretty &&
4785
4886echo " ===============================" &&
4987echo " macOS unit test" &&
5088echo " ===============================" &&
51- time xcodebuild clean test -workspace PinLayout.xcworkspace -scheme PinLayout-macOS -derivedDataPath $DERIVED_DATA -sdk macosx10.14 \
89+ time xcodebuild clean test -workspace PinLayout.xcworkspace -scheme PinLayout-macOS \
90+ -derivedDataPath $DERIVED_DATA -sdk macosx10.14 \
5291 | xcpretty &&
5392
5493
@@ -58,7 +97,8 @@ echo "===============================" &&
5897cd TestProjects/cocoapods/ios &&
5998rm -rf $DERIVED_DATA &&
6099pod install &&
61- time xcodebuild clean build -workspace PinLayout-iOS.xcworkspace -scheme PinLayout-iOS -sdk iphonesimulator12.0 -derivedDataPath $DERIVED_DATA \
100+ time xcodebuild clean build -workspace PinLayout-iOS.xcworkspace -scheme PinLayout-iOS \
101+ -sdk iphonesimulator12.0 -derivedDataPath $DERIVED_DATA \
62102 -destination ' platform=iOS Simulator,name=iPhone 8,OS=12.0' \
63103 | xcpretty &&
64104cd ../../.. &&
@@ -70,7 +110,8 @@ echo "===============================" &&
70110cd TestProjects/cocoapods/macos &&
71111rm -rf $DERIVED_DATA &&
72112pod install &&
73- time xcodebuild clean build -workspace PinLayout-macOS.xcworkspace -scheme PinLayout-macOS -sdk macosx10.14 -derivedDataPath $DERIVED_DATA \
113+ time xcodebuild clean build -workspace PinLayout-macOS.xcworkspace -scheme PinLayout-macOS \
114+ -sdk macosx10.14 -derivedDataPath $DERIVED_DATA \
74115 | xcpretty &&
75116cd ../../.. &&
76117
@@ -81,7 +122,8 @@ echo "===============================" &&
81122cd TestProjects/cocoapods/tvos &&
82123rm -rf $DERIVED_DATA &&
83124pod install &&
84- time xcodebuild clean build -workspace PinLayout-tvOS.xcworkspace -scheme PinLayout-tvOS -sdk appletvsimulator12.0 -derivedDataPath $DERIVED_DATA \
125+ time xcodebuild clean build -workspace PinLayout-tvOS.xcworkspace -scheme PinLayout-tvOS \
126+ -sdk appletvsimulator12.0 -derivedDataPath $DERIVED_DATA \
85127 -destination ' platform=tvOS Simulator,name=Apple TV,OS=12.0' \
86128 | xcpretty &&
87129cd ../../.. &&
@@ -95,11 +137,17 @@ rm -rf $DERIVED_DATA &&
95137rm Cartfile &&
96138echo " git \" $TRAVIS_BUILD_DIR \" \" $TRAVIS_BRANCH \" " > Cartfile &&
97139carthage update --use-ssh --platform iOS &&
98- time xcodebuild clean build -project PinLayout-Carthage-iOS.xcodeproj -scheme PinLayout-Carthage-iOS -sdk iphonesimulator12.0 -derivedDataPath $DERIVED_DATA \
140+ time xcodebuild clean build -project PinLayout-Carthage-iOS.xcodeproj \
141+ -scheme PinLayout-Carthage-iOS -sdk iphonesimulator12.0 \
142+ -derivedDataPath $DERIVED_DATA \
99143 -destination ' platform=iOS Simulator,name=iPhone 7,OS=12.0' \
100144 | xcpretty &&
101145cd ../../..
102146
147+ echo " ===============================" &&
148+ echo " Pod lib lint" &&
149+ echo " ===============================" &&
150+ time bundle exec pod lib lint --allow-warnings
103151
104152# echo "==========================================" &&
105153# echo " Swift Package Manager: iOS Empty project " &&
0 commit comments