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

Commit

Permalink
1.4.0 (#20)
Browse files Browse the repository at this point in the history
* Add support for Objective-C bridging

You still have to opt in to get the bridging support with `extension Foo: _ObjectiveCBridgeable { }` but this supplies the implementation of that protocol for ValueCoding types.

* Support multiple platforms for multiple Swift versions (#19)

* [VCD-19]: Reconfigures project

* [VCD-19]: Removes Objective-C stuff

* [VCD-19]: Updates CI & scripts

* [VCD-19]: Adds bundle install step

* [VCD-19]: Updates Ruby dependencies

* [VCD-19]: Updates Fastfile destinations

* [VCD-19]: Fixes bug with pipeline template

* [VCD-19]: Changes scan to use destination value

* [VCD-19]: Changes to 9.3

* [VCD-19]: Removes slather - its just the worst.

* [VCD-19]: Attempts to add Codecov support

* [VCD-19]: No idea how Codecov is supposed to work

* [1.4.0]: Updates the CHANGELOG

* [1.4.0]: Updates podspec
  • Loading branch information
danthorpe authored Sep 1, 2016
1 parent ac08b3a commit 6d74e34
Show file tree
Hide file tree
Showing 24 changed files with 356 additions and 1,477 deletions.
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

0 comments on commit 6d74e34

Please sign in to comment.