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

Release Candidate: 1.4.0 #20

Merged
merged 5 commits into from
Sep 1, 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
26 changes: 14 additions & 12 deletions .ci/buildkite/pipeline.template.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,23 @@
steps:
-
name: ":muscle: Lint"
name: "Lint"
command: .ci/scripts/lint
agents:
iOS-Simulator: false
swift: "$BUILDKITE_AGENT_META_DATA_SWIFT"

-
name: ":fastlane: Test Mac OS X"
name: "Mac"
command: .ci/scripts/test-osx
agents:
name: "$BUILDKITE_AGENT_META_DATA_NAME"
iOS-Simulator: false
swift: "$BUILDKITE_AGENT_META_DATA_SWIFT"
-
name: ":fastlane: Test iOS"
name: "iOS"
command: .ci/scripts/test-ios
agents:
name: "$BUILDKITE_AGENT_META_DATA_NAME"
-
type: "waiter"
-
name: ":muscle: Send Coverage"
command: .ci/scripts/send-coverage
agents:
name: "$BUILDKITE_AGENT_META_DATA_NAME"
iOS-Simulator: true
swift: "$BUILDKITE_AGENT_META_DATA_SWIFT"
env:
FL_SLATHER_BUILDKITE_ENABLED: true
FL_SLATHER_COVERALLS_ENABLED: true
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/\$BUILDKITE_AGENT_META_DATA_SWIFT/$BUILDKITE_AGENT_META_DATA_SWIFT/" .ci/buildkite/pipeline.template.yml
2 changes: 1 addition & 1 deletion .ci/scripts/lint
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
source /usr/local/opt/chruby/share/chruby/chruby.sh
chruby ruby
bundle exec fastlane lint
bundle install --quiet && bundle exec fastlane lint
4 changes: 0 additions & 4 deletions .ci/scripts/send-coverage

This file was deleted.

2 changes: 1 addition & 1 deletion .ci/scripts/test-ios
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
source /usr/local/opt/chruby/share/chruby/chruby.sh
chruby ruby
bundle exec fastlane ios test
bundle install --quiet && bundle exec fastlane ios test

2 changes: 1 addition & 1 deletion .ci/scripts/test-osx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
source /usr/local/opt/chruby/share/chruby/chruby.sh
chruby ruby
bundle exec fastlane mac test
bundle install --quiet && bundle exec fastlane mac test
7 changes: 7 additions & 0 deletions .codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
comment:
layout: header, changes, diff
coverage:
ignore:
- Tests/.*
status:
patch: false
37 changes: 18 additions & 19 deletions .fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,30 +9,29 @@ end

platform :ios do

desc "Runs all the tests"
lane :test do
desc "Runs all the tests"
lane :test do

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

end

scan(
project: "ValueCoding.xcodeproj",
scheme: "ValueCoding",
destination: "platform=iOS Simulator,OS=9.3,name=iPhone 6s",
code_coverage: true
)

end
end

platform :mac do

desc "Runs all the tests"
lane :test do
desc "Runs all the tests"
lane :test do

scan(
scheme: "ValueCoding-OSX",
output_directory: ".ci/xcodebuild-data/",
xcargs: "-derivedDataPath .ci/xcodebuild-data/"
)
scan(
project: "ValueCoding.xcodeproj",
scheme: "ValueCoding",
device: "My Mac"
)

end

end
end
14 changes: 14 additions & 0 deletions .jazzy.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"author": "Daniel Thorpe",
"author_url": "http://danthorpe.me",
"github_url": "https://github.com/danthorpe/ValueCoding",
"module": "ValueCoding",
"module_version": "1.4.0",
"readme": "README.md",
"swift_version": "2.2",
"xcodebuild_arguments": [
"-project", "ValueCoding.xcodeproj",
"-scheme", "ValueCoding"
],
"exclude": ["Tests"]
}
17 changes: 0 additions & 17 deletions .jazzy.yml

This file was deleted.

3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# 1.4.0
1. [[VCD-19](https://github.com/danthorpe/ValueCoding/pull/19)]: Recreates the project to use a single multi-platform framework target.

# 1.3.0
1. [[VCD-13](https://github.com/danthorpe/ValueCoding/pull/13)]: Switches test coverage reporting to Coveralls. Also adds SwiftLint rules into the project and CI.
2. [[VCD-14](https://github.com/danthorpe/ValueCoding/pull/14)]: Updates to Swift 2.2 syntax. :)
Expand Down
Loading