| # Copyright 2018 Google Inc. |
| # |
| # Licensed under the Apache License, Version 2.0 (the "License"); |
| # you may not use this file except in compliance with the License. |
| # You may obtain a copy of the License at |
| # |
| # http://www.apache.org/licenses/LICENSE-2.0 |
| # |
| # Unless required by applicable law or agreed to in writing, software |
| # distributed under the License is distributed on an "AS IS" BASIS, |
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| # See the License for the specific language governing permissions and |
| # limitations under the License. |
| # |
| language: objective-c |
| sudo: false |
| notifications: |
| email: |
| recipients: |
| - mobile-devx-github-bot+travis@google.com |
| matrix: |
| include: |
| - name: "Xcode 9/iPhone 5 32bit/iOS 10.3.1" |
| osx_image: xcode9 |
| env: IOS_DESTINATION="platform=iOS Simulator,name=iPhone 5,OS=10.3.1" |
| - name: "Xcode 9/iPhone 6 64bit/iOS 11.0" |
| osx_image: xcode9 |
| env: IOS_DESTINATION="platform=iOS Simulator,name=iPhone 6,OS=11.0" |
| - name: "Xcode 10/iPhone XS/iOS Latest" |
| osx_image: xcode10 |
| env: IOS_DESTINATION="platform=iOS Simulator,name=iPhone XS,OS=latest" |
| install: |
| - pod install --repo-update |
| script: |
| - travis_retry xcodebuild -workspace eDistantObject.xcworkspace/ -scheme TravisTests -sdk iphonesimulator -destination "$IOS_DESTINATION" test |
| branches: |
| only: |
| - master |