Skip to content

Instantly share code, notes, and snippets.

@jbehrens94
Created February 15, 2018 12:56
Show Gist options
  • Save jbehrens94/d01e33a4cb1d342b8f97d16566f21374 to your computer and use it in GitHub Desktop.
Save jbehrens94/d01e33a4cb1d342b8f97d16566f21374 to your computer and use it in GitHub Desktop.
New .travis.yml situation
# 1
language: swift
# 2
script: xcodebuild -workspace TravisExample.xcworkspace -scheme TravisExample -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO
script: xcodebuild test -workspace TravisExample.xcworkspace -scheme TravisExample -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO
# 3
script: xctool test -workspace TravisExample.xcworkspace -scheme TravisExampleTests -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO
# 4
script:
- xcodebuild build-for-testing -workspace TravisExample.xcworkspace -scheme TravisExample -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO
- xctool run-tests -workspace TravisExample.xcworkspace -scheme TravisExampleTests -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment