fix ci config
This commit is contained in:
parent
b09f80fa78
commit
53d6b14653
37
.travis.yml
37
.travis.yml
|
@ -1,34 +1,5 @@
|
|||
osx_image: xcode10
|
||||
language: objective-c
|
||||
osx_image: xcode9
|
||||
env:
|
||||
global:
|
||||
- LC_CTYPE=en_US.UTF-8
|
||||
- LANG=en_US.UTF-8
|
||||
- WORKSPACE="Fileable.xcworkspace"
|
||||
- IOS_FRAMEWORK_SCHEME="Fileable"
|
||||
- IOS_SDK=iphonesimulator11.0
|
||||
- EXAMPLE_SCHEME="iOS Example"
|
||||
matrix:
|
||||
- DESTINATION="platform=iOS Simulator,OS=11.0,id=5F22BAE5-1DB2-43CC-8983-5C4EE1BA37E7" SCHEME="$IOS_FRAMEWORK_SCHEME" SDK="$IOS_SDK" POD_LINT="NO"
|
||||
script:
|
||||
- set -o pipefail
|
||||
- xcodebuild -version
|
||||
- xcodebuild -showsdks
|
||||
- xcodebuild -list
|
||||
- xcodebuild -workspace "$WORKSPACE" -list
|
||||
|
||||
# Build and test Framework in Debug
|
||||
- xcodebuild -workspace "$WORKSPACE" -scheme "$SCHEME" -sdk "$SDK" -destination "$DESTINATION" -configuration Debug ONLY_ACTIVE_ARCH=NO test | xcpretty -c
|
||||
|
||||
# Build Framework in ReleaseTest
|
||||
- xcodebuild -workspace "$WORKSPACE" -scheme "$SCHEME" -sdk "$SDK" -destination "$DESTINATION" -configuration Release ONLY_ACTIVE_ARCH=NO build | xcpretty -c
|
||||
|
||||
# Build Example in Debug if specified
|
||||
- xcodebuild -workspace "$WORKSPACE" -scheme "$EXAMPLE_SCHEME" -sdk "$SDK" -destination "$DESTINATION" -configuration Debug ONLY_ACTIVE_ARCH=NO build | xcpretty -c
|
||||
|
||||
# Run `pod lib lint` if specified
|
||||
- if [ $POD_LINT == "YES" ]; then
|
||||
pod lib lint;
|
||||
fi
|
||||
|
||||
- CheckCocoaPodsQualityIndexes.rb Fileable
|
||||
xcode_project: Fileable.xcodeproj
|
||||
xcode_scheme: Fileable
|
||||
xcode_destination: platform=iOS Simulator,OS=12.0,name=iPhone XS
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||

|
||||
|
||||
[](https://travis-ci.org/shotastage/Fileable)
|
||||
[](https://travis-ci.org/shotastage/Fileable.swift)
|
||||
[](https://github.com/shotasatge/Fileable)
|
||||

|
||||

|
||||
|
|
Loading…
Reference in New Issue