Skip to content
This repository has been archived by the owner on Jul 2, 2018. It is now read-only.

Swift 2.3 #61

Merged
merged 8 commits into from
Oct 16, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 13 additions & 6 deletions .ci/buildkite/pipeline.template.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,18 @@
steps:
-
name: ":fastlane: Test Mac OS X"
command: .ci/scripts/test-osx
name: "macOS"
command: "source /usr/local/opt/chruby/share/chruby/chruby.sh && chruby ruby && bundle install --quiet && bundle exec fastlane test_mac"
agents:
name: "$BUILDKITE_AGENT_META_DATA_NAME"
xcode: "$XCODE"
-
name: ":fastlane: Test iOS"
command: .ci/scripts/test-ios
name: "iOS"
command: "source /usr/local/opt/chruby/share/chruby/chruby.sh && chruby ruby && bundle install --quiet && bundle exec fastlane test_ios"
agents:
name: "$BUILDKITE_AGENT_META_DATA_NAME"
iOS-Simulator: true
xcode: "$XCODE"
-
name: "tvOS"
command: "source /usr/local/opt/chruby/share/chruby/chruby.sh && chruby ruby && bundle install --quiet && bundle exec fastlane test_tvos"
agents:
iOS-Simulator: true
xcode: "$XCODE"
2 changes: 1 addition & 1 deletion .ci/buildkite/upload
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
set -eu

# Makes sure all the steps run on this same agent
sed "s/\$BUILDKITE_AGENT_META_DATA_NAME/$BUILDKITE_AGENT_META_DATA_NAME/" .ci/buildkite/pipeline.template.yml
sed "s/\$XCODE/$BUILDKITE_AGENT_META_DATA_XCODE/;s/\$COMMIT/$BUILDKITE_COMMIT/" .ci/buildkite/pipeline.template.yml
43 changes: 10 additions & 33 deletions .fastlane/Fastfile
Original file line number Diff line number Diff line change
@@ -1,37 +1,14 @@
platform :ios do

desc "Runs all the tests"
lane :test do

carthage(
platform: "iOS"
)

scan(
scheme: "Money-iOS",
output_directory: ".ci/xcodebuild-data/",
xcargs: "-derivedDataPath .ci/xcodebuild-data/"
)

end

lane :test_ios do
carthage(platform: "iOS")
scan(scheme: "Money", destination: "platform=iOS Simulator,OS=10.0,name=iPhone 6s")
end

platform :mac do

desc "Runs all the tests"
lane :test do

carthage(
platform: "Mac"
)
lane :test_mac do
carthage(platform: "Mac")
scan(scheme: "Money", destination: "platform=macOS")
end

scan(
scheme: "Money-OSX",
output_directory: ".ci/xcodebuild-data/",
xcargs: "-derivedDataPath .ci/xcodebuild-data/"
)

end

lane :test_tvos do
carthage(platform: "tvOS")
scan(scheme: "Money", destination: "platform=tvOS Simulator,OS=10.0,name=Apple TV 1080p")
end
2 changes: 1 addition & 1 deletion Cartfile
Original file line number Diff line number Diff line change
@@ -1 +1 @@
github "danthorpe/ValueCoding"
github "danthorpe/ValueCoding" "1.5.0"
2 changes: 1 addition & 1 deletion Cartfile.resolved
Original file line number Diff line number Diff line change
@@ -1 +1 @@
github "danthorpe/ValueCoding" "1.3.0"
github "danthorpe/ValueCoding" "1.5.0"
Loading