| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374 |
- #
- # Copyright 2017, gRPC Authors All rights reserved.
- #
- # 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.
- #
- # Travis CI build file for gRPC Swift.
- jobs:
- include:
- # Tests for each PR.
- - &tests
- stage: "Test"
- name: "Ubuntu 18.04"
- os: linux
- dist: bionic
- script: ./.travis-script.sh
- env: RUN_INTEROP_TESTS=false
- - <<: *tests
- name: "macOS (Xcode 10.3)"
- os: osx
- osx_image: xcode10.3
- # Interop Tests.
- - &interop_tests
- stage: "Interoperability Tests"
- # Linux
- name: "Ubuntu 18.04"
- os: linux
- dist: bionic
- script: ./.travis-script.sh
- env: RUN_INTEROP_TESTS=true
- - <<: *interop_tests
- name: "macOS (Xcode 10.3)"
- os: osx
- osx_image: xcode10.3
- stages:
- # Always run this stage.
- - name: "Test"
- # Only run when pushing (or merging) to nio.
- - name: "Interoperability Tests"
- if: type = push AND branch = nio
- cache:
- apt: true
- directories:
- - .build
- - $HOME/bin_cache
- sudo: false
- addons:
- apt:
- packages:
- - build-essential
- - curl
- - unzip
- - zip
- - pkg-config
- - g++
- - zlib1g-dev
- - python3
- install: ./.travis-install.sh
- script: ./.travis-script.sh
|