Skip to content

Commit

Permalink
Merge pull request huri000#9 from huri000/wip/travis
Browse files Browse the repository at this point in the history
Travis script change - works with codecov
  • Loading branch information
huri000 authored May 8, 2018
2 parents 1336be9 + 2d2b888 commit f90a0a2
Show file tree
Hide file tree
Showing 16 changed files with 140 additions and 156 deletions.
17 changes: 5 additions & 12 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
language: objective-c
osx_image: xcode9.3
cache: cocoapods
podfile: Example/Podfile

Expand All @@ -7,18 +8,10 @@ env:
- WORKSPACE=Example/QuickLayout.xcworkspace
- SCHEME=DemoApp
- TEST_SDK=iphonesimulator
- TEST_DEST="platform=iOS Simulator,OS=11.3,name=iPhone 8"

matrix:
include:
-
os: osx
osx_image: xcode9.3
env:
- BUILD="xcodebuild"
- TEST_DEST="platform=iOS Simulator,OS=11.3,name=iPhone 8"

script:
- xcodebuild -workspace "$WORKSPACE" -scheme "$SCHEME" -destination "$TEST_DEST" -sdk "$TEST_SDK" -enableCodeCoverage YES build-for-testing

after_success:
- bash <(curl -s https://codecov.io/bash)
- set -o pipefail
- xcodebuild clean build test -workspace "$WORKSPACE" -scheme "$SCHEME" -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 7' -configuration Debug | xcpretty
- bash <(curl -s https://codecov.io/bash)
4 changes: 2 additions & 2 deletions Example/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ PODS:
- LoremIpsum (1.0.0)
- Nimble (7.0.2)
- Quick (1.2.0)
- QuickLayout (1.0.12)
- QuickLayout (1.0.13)

DEPENDENCIES:
- LoremIpsum (~> 1.0)
Expand All @@ -24,7 +24,7 @@ SPEC CHECKSUMS:
LoremIpsum: 9029c55d36501b2ee0b05cc9ecda11d3a0479160
Nimble: bfe1f814edabba69ff145cb1283e04ed636a67f2
Quick: 58d203b1c5e27fff7229c4c1ae445ad7069a7a08
QuickLayout: 064cd8ce1a19ed868437196d5a0ca70f110529ab
QuickLayout: 695acc6b2bcfdd3f72c63b0c84ccd2c001ccd26c

PODFILE CHECKSUM: b2a1aaebea37b64555719a9af92405234ac54471

Expand Down
4 changes: 2 additions & 2 deletions Example/Pods/Local Podspecs/QuickLayout.podspec.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Example/Pods/Manifest.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

128 changes: 64 additions & 64 deletions Example/Pods/Pods.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Example/Pods/Target Support Files/QuickLayout/Info.plist

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

120 changes: 60 additions & 60 deletions Example/QuickLayout.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "387ADB46C1C1DD0FB3DC8BF4B11A04DE"
BlueprintIdentifier = "79223D53A9B733A6BC58A4DF9974A81C"
BuildableName = "Quick.framework"
BlueprintName = "Quick"
ReferencedContainer = "container:Pods/Pods.xcodeproj">
Expand Down
12 changes: 1 addition & 11 deletions QuickLayout.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

Pod::Spec.new do |s|
s.name = 'QuickLayout'
s.version = '1.0.12'
s.version = '1.0.13'
s.summary = 'Code based user interface'
s.platform = :ios
s.ios.deployment_target = '9.0'
Expand All @@ -22,17 +22,7 @@ DESC
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { 'Daniel Huri' => '[email protected]' }
s.source = { :git => 'https://github.com/huri000/QuickLayout.git', :tag => s.version.to_s }

s.source_files = 'QuickLayout/**/*.{swift,h}'

# s.resource_bundles = {
# 'QuickLayout' => ['QuickLayout/Assets/*.png']
# }

# s.public_header_files = 'Pod/Classes/**/*.h'
s.frameworks = 'UIKit'

# s.dependency 'Quick', '1.2.0'
# s.dependency 'Nimble', '7.0.2'

end
File renamed without changes.
Empty file removed QuickLayout/Classes/.gitkeep
Empty file.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
)](https://developer.apple.com/swift)
[![Version](https://img.shields.io/cocoapods/v/QuickLayout.svg?style=flat-square)](http://cocoapods.org/pods/QuickLayout)
![](https://travis-ci.org/huri000/QuickLayout.svg?branch=master)
[![codecov](https://codecov.io/gh/huri000/QuickLayout/branch/master/graph/badge.svg)](https://codecov.io/gh/huri000/QuickLayout)
[![License](https://img.shields.io/cocoapods/l/QuickLayout.svg?style=flat-square)](http://cocoapods.org/pods/QuickLayout)
[![Total Downloads](https://img.shields.io/cocoapods/dt/QuickLayout.svg?style=social)](https://cocoapods.org/pods/QuickLayout)

Expand Down Expand Up @@ -101,7 +102,7 @@ Swift 4.0 and iOS 9.0 (or higher).

#### CocoaPods
```
pod 'QuickLayout', '1.0.12'
pod 'QuickLayout', '1.0.13'
```

#### Manually
Expand Down

0 comments on commit f90a0a2

Please sign in to comment.