Skip to content

Commit

Permalink
Merge pull request #36 from gobetti/carthage-support
Browse files Browse the repository at this point in the history
Carthage support
  • Loading branch information
ashfurrow committed Nov 9, 2018
2 parents 5b89bfd + 9e25241 commit 3dc5048
Show file tree
Hide file tree
Showing 28 changed files with 1,149 additions and 874 deletions.
5 changes: 1 addition & 4 deletions .gitignore
Expand Up @@ -27,7 +27,4 @@ Pods/

# Carthage
#
# Add this line if you want to avoid checking in source code from Carthage dependencies.
# Carthage/Checkouts

Carthage/Build
Carthage
35 changes: 30 additions & 5 deletions .travis.yml
@@ -1,8 +1,33 @@
osx_image: xcode10
language: objective-c
podfile: Demo/Podfile
cache: cocoapods
xcode_project: RxNimble.xcodeproj
xcode_scheme:
- RxNimbleRxBlocking
- RxNimbleRxTest

cache:
directories:
- $HOME/Library/Caches/org.carthage.CarthageKit/dependencies
- Carthage

before_install:
- gem install cocoapods -v '1.3.1'
- pod repo update
script: cd Demo ; set -o pipefail && xcodebuild -workspace 'Demo.xcworkspace' -scheme 'Demo' -configuration 'Debug' -sdk iphonesimulator -destination platform='iOS Simulator',OS='12.0',name='iPhone 8' build test | xcpretty -c --test
- carthageversion=$(carthage version)
- if [ $carthageversion != "0.31.2" ]; then brew uninstall carthage; HOMEBREW_NO_AUTO_UPDATE=1 brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/a85feeb75bc9e9beb7f2e9dc6e2ccc996a6aeaf5/Formula/carthage.rb; fi

jobs:
include:
- stage: prepare carthage cache
script:
- carthage bootstrap --no-use-binaries --cache-builds
- stage: carthage builds
script:
- carthage build --cache-builds --no-skip-current --platform macOS
- script:
- carthage build --cache-builds --no-skip-current --platform iOS
- script:
- carthage build --cache-builds --no-skip-current --platform tvOS

stages:
- prepare carthage cache
- test
- carthage builds
2 changes: 1 addition & 1 deletion Changelog.md → CHANGELOG.md
Expand Up @@ -2,7 +2,7 @@

## Current Master

- Nothing yet!
- Carthage support

## 4.4.0

Expand Down
3 changes: 3 additions & 0 deletions Cartfile
@@ -0,0 +1,3 @@
github "ReactiveX/RxSwift" ~> 4.2
github "Quick/Quick"
github "Quick/Nimble"
3 changes: 3 additions & 0 deletions Cartfile.resolved
@@ -0,0 +1,3 @@
github "Quick/Nimble" "v7.3.1"
github "Quick/Quick" "v1.3.2"
github "ReactiveX/RxSwift" "4.4.0"
1 change: 0 additions & 1 deletion Demo/.swift-version

This file was deleted.

537 changes: 0 additions & 537 deletions Demo/Demo.xcodeproj/project.pbxproj

This file was deleted.

10 changes: 0 additions & 10 deletions Demo/Demo.xcworkspace/contents.xcworkspacedata

This file was deleted.

46 changes: 0 additions & 46 deletions Demo/Demo/AppDelegate.swift

This file was deleted.

53 changes: 0 additions & 53 deletions Demo/Demo/Assets.xcassets/AppIcon.appiconset/Contents.json

This file was deleted.

27 changes: 0 additions & 27 deletions Demo/Demo/Base.lproj/LaunchScreen.storyboard

This file was deleted.

25 changes: 0 additions & 25 deletions Demo/Demo/Base.lproj/Main.storyboard

This file was deleted.

40 changes: 0 additions & 40 deletions Demo/Demo/Info.plist

This file was deleted.

25 changes: 0 additions & 25 deletions Demo/Demo/ViewController.swift

This file was deleted.

18 changes: 0 additions & 18 deletions Demo/Podfile

This file was deleted.

47 changes: 0 additions & 47 deletions Demo/Podfile.lock

This file was deleted.

0 comments on commit 3dc5048

Please sign in to comment.