File tree Expand file tree Collapse file tree 2 files changed +25
-3
lines changed Expand file tree Collapse file tree 2 files changed +25
-3
lines changed 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 1
1
task default : :build
2
2
3
3
desc "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)
7
8
end
You can’t perform that action at this time.
0 commit comments