diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..7e682f1 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,14 @@ +s: +# * http://www.objc.io/issue-6/travis-ci.html +# * https://github.com/supermarin/xcpretty#usage + +osx_image: xcode9.2 +language: swift +# cache: cocoapods +# podfile: Example/Podfile +# before_install: +# - gem install cocoapods # Since Travis is not always on latest version +# - pod install --project-directory=Example +script: +- set -o pipefail && xcodebuild LabelSwitch -enableCodeCoverage YES -workspace Example/LabelSwitch.xcworkspace -scheme LabelSwitch-Example -sdk iphonesimulator9.3 ONLY_ACTIVE_ARCH=NO | xcpretty +- pod lib lint diff --git a/Example/LabelSwitch.xcworkspace/xcuserdata/zhu.bingyi.xcuserdatad/UserInterfaceState.xcuserstate b/Example/LabelSwitch.xcworkspace/xcuserdata/zhu.bingyi.xcuserdatad/UserInterfaceState.xcuserstate index acbb999..21c639a 100644 Binary files a/Example/LabelSwitch.xcworkspace/xcuserdata/zhu.bingyi.xcuserdatad/UserInterfaceState.xcuserstate and b/Example/LabelSwitch.xcworkspace/xcuserdata/zhu.bingyi.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/LabelSwitch/Classes/LabelSwitch.swift b/LabelSwitch/Classes/LabelSwitch.swift index ae9d530..3f476ca 100644 --- a/LabelSwitch/Classes/LabelSwitch.swift +++ b/LabelSwitch/Classes/LabelSwitch.swift @@ -1,8 +1,8 @@ // -// TextSwitch.swift -// KaneMemo +// LabelSwitch.swift +// LabelSwitch // -// Created by cookie on 07/12/2017. +// Created by cookie on 20/02/2018. // Copyright © 2017 cookie. All rights reserved. //