fix ci config

This commit is contained in:
Shota Shimazu 2018-10-26 13:31:43 +09:00
parent b09f80fa78
commit 53d6b14653
2 changed files with 5 additions and 34 deletions

View File

@ -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

View File

@ -1,6 +1,6 @@
![FileKit](./Documentation/filekit_readme.png)
[![Build Status](https://travis-ci.org/shotastage/Fileable.svg?branch=master)](https://travis-ci.org/shotastage/Fileable)
[![Build Status](https://travis-ci.org/shotastage/Fileable.swift.svg?branch=master)](https://travis-ci.org/shotastage/Fileable.swift)
[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/shotasatge/Fileable)
![iOS 10+](https://img.shields.io/badge/iOS-10%2B-blue.svg?style=flat)
![Linux supported](https://img.shields.io/badge/Linux-supported-5D9CEC.svg?style=flat)