Skip to content

Commit

Permalink
adding slather back
Browse files Browse the repository at this point in the history
  • Loading branch information
leogdion committed Nov 1, 2018
1 parent ca09455 commit c918819
Show file tree
Hide file tree
Showing 6 changed files with 41 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .slather.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
coverage_service: cobertura_xml
workspace: Speculid.xcworkspace
xcodeproj: Speculid.xcodeproj
scheme: Speculid
source_directory: framework
8 changes: 5 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,8 @@ env:
branches:
except:
- develop
- gh-pages
osx_image: xcode10
xcode_workspace: speculid.xcworkspace
xcode_workspace: Speculid.xcworkspace
xcode_scheme: Speculid-Mac-App
before_install:
- bundler install
Expand All @@ -16,14 +15,17 @@ before_install:
script:
- "./scripts/decrypt-certs.sh"
- "./scripts/build-keychain.sh"
- xcodebuild test -quiet -workspace speculid.xcworkspace -scheme "Speculid"
- xcodebuild test -quiet -workspace speculid.xcworkspace -scheme "Speculid-Mac-App"
- xcodebuild archive -quiet -workspace speculid.xcworkspace -scheme "Speculid-Mac-App" -configuration Release -derivedDataPath ./build -archivePath ./build/Products/Speculid.xcarchive
- xcodebuild -quiet -exportArchive -archivePath ./build/Products/Speculid.xcarchive -exportOptionsPlist ./exportOptions.plist -exportPath ./build/Products/App
- ditto -c -k --sequesterRsrc --keepParent ./build/Products/App/Speculid.app build/Speculid.zip
- open Build/Products/App/Speculid.app
- osascript -e 'tell application "Speculid" to quit'
- diff examples/shasum <(./scripts/shasum.sh)
- ./build/Products/App/Speculid.app/Contents/SharedSupport/speculid --version --useLocation ./build/Products/App/Speculid.app
after_success:
- slather
- bash <(curl -s https://codecov.io/bash) -f cobertura.xml
after_failure:
- "./scripts/shasum.sh"
- find "examples/Assets/." -type f \( -iname \*.icns -o -iname \*.png -o -iname \*.pdf
Expand Down
3 changes: 2 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
source 'https://rubygems.org'
gem 'github-pages', group: :jekyll_plugins
gem "cocoapods", "~> 1.5"
gem "cocoapods", "~> 1.5"
gem 'slather'
7 changes: 7 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ GEM
public_suffix (>= 2.0.2, < 4.0)
atomos (0.1.3)
claide (1.0.2)
clamp (0.6.5)
cocoapods (1.5.3)
activesupport (>= 4.0.2, < 5)
claide (>= 1.0.2, < 2.0)
Expand Down Expand Up @@ -275,6 +276,11 @@ GEM
sawyer (0.8.1)
addressable (>= 2.3.5, < 2.6)
faraday (~> 0.8, < 1.0)
slather (2.4.0)
activesupport (>= 4.0.2, < 5)
clamp (~> 0.6)
nokogiri (~> 1.6)
xcodeproj (>= 0.20, < 2.0.0)
terminal-table (1.8.0)
unicode-display_width (~> 1.1, >= 1.1.1)
thread_safe (0.3.6)
Expand All @@ -296,6 +302,7 @@ PLATFORMS
DEPENDENCIES
cocoapods (~> 1.5)
github-pages
slather

BUNDLED WITH
1.16.2
4 changes: 4 additions & 0 deletions Speculid.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -1086,6 +1086,8 @@
7DD68C68194F71BF3C7B683C /* Pods-CairoSVG.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CairoSVG.debug.xcconfig"; path = "Pods/Target Support Files/Pods-CairoSVG/Pods-CairoSVG.debug.xcconfig"; sourceTree = "<group>"; };
87434B3EFCD8AF7732299E58 /* Pods-Speculid.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Speculid.release.xcconfig"; path = "Pods/Target Support Files/Pods-Speculid/Pods-Speculid.release.xcconfig"; sourceTree = "<group>"; };
9F8599C40CCA72FBF9FA1098 /* Pods_CairoSVG.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_CairoSVG.framework; sourceTree = BUILT_PRODUCTS_DIR; };
B30216EE218B7F5C004C4BEA /* .slather.yml */ = {isa = PBXFileReference; lastKnownFileType = text; path = .slather.yml; sourceTree = "<group>"; };
B30216EF218B805E004C4BEA /* Gemfile */ = {isa = PBXFileReference; lastKnownFileType = text; path = Gemfile; sourceTree = "<group>"; };
B3033B191F9AEE9900787279 /* .travis.yml */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = .travis.yml; sourceTree = "<group>"; };
B3033B1A1F9AEE9A00787279 /* .gitignore */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = .gitignore; sourceTree = "<group>"; };
B3033B1D1F9AEFC100787279 /* AssetSpecificationDocumentProtocol.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AssetSpecificationDocumentProtocol.swift; sourceTree = "<group>"; };
Expand Down Expand Up @@ -2133,10 +2135,12 @@
B3033B181F9AED7600787279 /* configuration */ = {
isa = PBXGroup;
children = (
B30216EF218B805E004C4BEA /* Gemfile */,
B3B049C81FA262A8002906B1 /* exportOptions.plist */,
B3033B1A1F9AEE9A00787279 /* .gitignore */,
B3033B191F9AEE9900787279 /* .travis.yml */,
B318906D1F91A06B00D0EFA0 /* .swiftlint.yml */,
B30216EE218B7F5C004C4BEA /* .slather.yml */,
);
name = configuration;
sourceTree = "<group>";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,25 @@
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
codeCoverageEnabled = "YES"
onlyGenerateCoverageForSpecifiedTargets = "YES"
shouldUseLaunchSchemeArgsEnv = "YES">
<CodeCoverageTargets>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "B37C74881F8C5B5C00DF505B"
BuildableName = "CairoSVG.framework"
BlueprintName = "CairoSVG"
ReferencedContainer = "container:Speculid.xcodeproj">
</BuildableReference>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "B37C74721F8C5ADA00DF505B"
BuildableName = "SpeculidKit.framework"
BlueprintName = "Speculid"
ReferencedContainer = "container:Speculid.xcodeproj">
</BuildableReference>
</CodeCoverageTargets>
<Testables>
<TestableReference
skipped = "NO">
Expand Down

0 comments on commit c918819

Please sign in to comment.