File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ language : objective-c
2+ osx_image : xcode7.3
3+ env :
4+ matrix :
5+ - VERSION=8.4
6+ - VERSION=latest
7+ cache :
8+ bundler : true
9+ directories :
10+ - vendor/bundle
11+ - Pods
12+ before_install :
13+ - export LANG=en_US.UTF-8
14+ install :
15+ - bundle install --without development --deployment --jobs=3 --retry=3
16+ - bundle exec pod install --no-repo-update
17+ script :
18+ - xcodebuild -project ICInputAccessory.xcodeproj -scheme ICInputAccessory-iOS -sdk iphonesimulator -destination "name=iPhone 6,OS=$VERSION" clean build | xcpretty -c
19+ - xcodebuild -workspace ICInputAccessory.xcworkspace -scheme Example -sdk iphonesimulator -destination "name=iPhone 6,OS=$VERSION" clean build | xcpretty -c
20+ notifications :
21+ email : false
Original file line number Diff line number Diff line change 11task default : :build
22
33desc "Build the framework target and the example project"
4- task :build do
5- sh %(xcodebuild -project ICInputAccessory.xcodeproj -scheme ICInputAccessory-iOS -sdk iphonesimulator -destination "name=iPhone 6,OS=latest" clean build | xcpretty -c)
6- sh %(xcodebuild -workspace ICInputAccessory.xcworkspace -scheme Example -sdk iphonesimulator -destination "name=iPhone 6,OS=latest" clean build | xcpretty -c)
4+ task :build , [ :os ] do |t , args |
5+ version = args [ :os ] || "latest"
6+ sh %(xcodebuild -project ICInputAccessory.xcodeproj -scheme ICInputAccessory-iOS -sdk iphonesimulator -destination "name=iPhone 5,OS=#{ version } " clean build | xcpretty -c)
7+ sh %(xcodebuild -workspace ICInputAccessory.xcworkspace -scheme Example -sdk iphonesimulator -destination "name=iPhone 5,OS=#{ version } " clean build | xcpretty -c)
78end
You can’t perform that action at this time.
0 commit comments