Skip to content

Commit

Permalink
[Travis] Replace xctool with plain xcodebuild
Browse files Browse the repository at this point in the history
  • Loading branch information
ikesyo committed Jul 10, 2016
1 parent a16d18f commit 399713d
Show file tree
Hide file tree
Showing 8 changed files with 29 additions and 371 deletions.
30 changes: 28 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,32 @@
language: objective-c
osx_image: xcode7.2
script: script/cibuild
xcode_workspace: Mantle.xcworkspace
git:
submodules: false
before_install:
- git submodule update --init --recursive
script:
- set -o pipefail
- xcodebuild $XCODE_ACTION
-workspace "$TRAVIS_XCODE_WORKSPACE"
-scheme "$TRAVIS_XCODE_SCHEME"
-sdk "$XCODE_SDK"
-destination "$XCODE_DESTINATION"
RUN_CLANG_STATIC_ANALYZER=NO
| xcpretty
matrix:
include:
- xcode_scheme: "Mantle Mac"
osx_image: xcode7.2
env:
- XCODE_ACTION=test
- XCODE_SDK=macosx
- XCODE_DESTINATION="arch=x86_64"
- xcode_scheme: "Mantle iOS"
osx_image: xcode7.2
env:
- XCODE_ACTION=test
- XCODE_SDK=iphonesimulator
- XCODE_DESTINATION="name=iPhone 6s"
notifications:
email: false
campfire:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,7 @@ Mantle supports OS X 10.9+ and iOS 8.0+.
To add Mantle to your application:

1. Add the Mantle repository as a submodule of your application's repository.
1. Run `script/bootstrap` from within the Mantle folder.
1. Run `git submodule update --init --recursive` from within the Mantle folder.
1. Drag and drop `Mantle.xcodeproj` into your application's Xcode project. Unfortunately, an [Xcode bug](http://www.openradar.appspot.com/19676555) means you should probably not add it to a workspace.
1. On the "General" tab of your application target, add `Mantle.framework` to the "Embedded Binaries".

Expand Down
18 changes: 0 additions & 18 deletions script/LICENSE.md

This file was deleted.

82 changes: 0 additions & 82 deletions script/README.md

This file was deleted.

80 changes: 0 additions & 80 deletions script/bootstrap

This file was deleted.

153 changes: 0 additions & 153 deletions script/cibuild

This file was deleted.

10 changes: 0 additions & 10 deletions script/schemes.awk

This file was deleted.

Loading

0 comments on commit 399713d

Please sign in to comment.