mirror of
https://github.com/HackPlan/AsyncDisplayKit.git
synced 2026-05-13 00:39:06 +08:00
[travis] Only run tests on master; ./build.sh.
Don't consider the build broken if a feature branch is broken. Move the actual build command to a separate script -- easier to read, easier to maintain, and easier to run by hand.
This commit is contained in:
@@ -7,4 +7,9 @@ before_install:
|
||||
env:
|
||||
- TEST_OS=7.1
|
||||
- TEST_OS=8.1
|
||||
script: xctool -workspace AsyncDisplayKit.xcworkspace -scheme AsyncDisplayKit -sdk iphonesimulator8.1 -destination "platform=iOS Simulator,OS=${TEST_OS},name=iPhone 5" build test
|
||||
script: ./build.sh $TEST_OS
|
||||
|
||||
# whitelist
|
||||
branches:
|
||||
only:
|
||||
- master
|
||||
|
||||
Reference in New Issue
Block a user