Skip to content

Commit

Permalink
Travis CI Update (#17)
Browse files Browse the repository at this point in the history
* swift 4 or above version issue

* travis update
  • Loading branch information
antonyraphel authored Jul 9, 2019
1 parent 0247cd1 commit c6ca60e
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,27 @@

# 1
language: objective-c

xcode_project: ARCarMovement.xcodeproj
xcode_scheme: ARCarMovementTests
osx_image: xcode10.2
branches:
only:
- development

# 2
before_install:
- cd ARCarMovement
- pod install
# - brew update
# - brew upgrade xctool
- brew update
- brew upgrade xctool

# 3
script: xcodebuild clean && xcodebuild build -workspace ARCarMovement.xcworkspace -scheme ARCarMovement -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO
# script: xcodebuild test -workspace ARCarMovement.xcworkspace -scheme ARCarMovement -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO
script: xcodebuild test -workspace ARCarMovement.xcworkspace -scheme ARCarMovementTests -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO

# 4
# script: xctool test -workspace ARCarMovement.xcworkspace -scheme ARCarMovementTests -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO
script: xctool test -workspace ARCarMovement.xcworkspace -scheme ARCarMovementTests -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO

# 5
# script:
# - xcodebuild build-for-testing -workspace ARCarMovement.xcworkspace -scheme ARCarMovement -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO
# - xctool run-tests -workspace ARCarMovement.xcworkspace -scheme ARCarMovementTests -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO
script:
- xcodebuild build-for-testing -workspace ARCarMovement.xcworkspace -scheme ARCarMovement -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO
- xctool run-tests -workspace ARCarMovement.xcworkspace -scheme ARCarMovementTests -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO

0 comments on commit c6ca60e

Please sign in to comment.