Skip to content

Commit

Permalink
Merge pull request #63 from zenangst/fix/carthage-build
Browse files Browse the repository at this point in the history
Fix Carthage build
  • Loading branch information
zenangst authored May 11, 2017
2 parents 2f8988a + 20f254e commit 0bd529e
Show file tree
Hide file tree
Showing 9 changed files with 55 additions and 346 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,3 @@ Carthage

# SPM
.build/
Podfile.lock
21 changes: 11 additions & 10 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
osx_image: xcode8
osx_image: xcode8.2
language: objective-c

cache:
directories:
- Carthage

before_install:
- gem install xcpretty
- brew update
- if brew outdated | grep -qx xctool; then brew upgrade xctool; fi
- travis_wait 25 pod repo update --silent
- pod install
- travis_wait 35; bin/bootstrap-if-needed

script:
- xcodebuild clean build -workspace Tailor.xcworkspace -scheme Tailor-iOS -sdk iphonesimulator | xcpretty
- xcodebuild test -workspace Tailor.xcworkspace -scheme Tailor-iOS -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 6,OS=10.0' | xcpretty
- xcodebuild clean build -workspace Tailor.xcworkspace -scheme Tailor-Mac -sdk macosx | xcpretty
- xcodebuild test -workspace Tailor.xcworkspace -scheme Tailor-Mac -sdk macosx | xcpretty
- xcodebuild clean
- xcodebuild clean build -project Tailor.xcodeproj -scheme Tailor-iOS -sdk iphonesimulator | xcpretty
- xcodebuild test -project Tailor.xcodeproj -scheme Tailor-iOS -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 6,OS=10.2' | xcpretty
- xcodebuild clean build -project Tailor.xcodeproj -scheme Tailor-Mac -sdk macosx | xcpretty
- xcodebuild test -project Tailor.xcodeproj -scheme Tailor-Mac -sdk macosx | xcpretty

notifications:
email: false
2 changes: 2 additions & 0 deletions Cartfile.private
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
github "Quick/Nimble"
github "Quick/Quick"
2 changes: 2 additions & 0 deletions Cartfile.resolved
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
github "Quick/Nimble" "v7.0.0"
github "Quick/Quick" "v1.1.0"
38 changes: 0 additions & 38 deletions Podfile

This file was deleted.

318 changes: 31 additions & 287 deletions Tailor.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

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

This file was deleted.

4 changes: 4 additions & 0 deletions bin/bootstrap
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh

carthage bootstrap
cp Cartfile.resolved Carthage
5 changes: 5 additions & 0 deletions bin/bootstrap-if-needed
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/sh

if ! cmp -s Cartfile.resolved Carthage/Cartfile.resolved; then
bin/bootstrap
fi

0 comments on commit 0bd529e

Please sign in to comment.