Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add CI builds for Carthage and CocoaPods #192

Merged
merged 12 commits into from
Sep 19, 2018
27 changes: 24 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,30 @@ matrix:
env: BUILD_ONLY="YES" RUNTIME="watchOS 3.2" DEVICE="Apple Watch Series 2 - 42mm"
- xcode_scheme: OneTimePassword (watchOS)
env: BUILD_ONLY="YES" RUNTIME="watchOS 2.0" DEVICE="Apple Watch - 38mm"

# Check out nested dependencies
before_install: git submodule update --init --recursive
# Include Carthage builds
- env:
before_script:
script: carthage build --no-skip-current
- osx_image: xcode9
env:
before_script:
script: carthage build --no-skip-current
# Include CocoaPods builds
- env:
before_script:
script: pod lib lint --allow-warnings
- osx_image: xcode9
env:
before_install: gem update cocoapods
before_script:
script: pod lib lint --allow-warnings --verbose
allow_failures:
# Allow the Xcode 9 `pod lib lint` to fail, as this test method currently has an issue using the custom CommonCrypto module maps.
- osx_image: xcode9
env:
before_install: gem update cocoapods
before_script:
script: pod lib lint --allow-warnings --verbose

before_script:
- DEVICE_ID=com.apple.CoreSimulator.SimDeviceType.$(echo $DEVICE | sed -E -e "s/[ \-]+/ /g" -e "s/[^[:alnum:]]/-/g")
Expand Down