diff options
author | Antoine Cœur <coeur@gmx.fr> | 2019-07-08 18:42:09 +0800 |
---|---|---|
committer | James E. King III <jking@apache.org> | 2019-07-08 06:42:09 -0400 |
commit | 08a6eb6e1f21aa15682e414e124d7ee1a51a39c7 (patch) | |
tree | 58a656c5d930ba5cc6879cc381ce807a8a2dc266 /.travis.yml | |
parent | f9435643d758f9b08937399abe7f721ec7d65fcf (diff) | |
download | thrift-08a6eb6e1f21aa15682e414e124d7ee1a51a39c7.tar.gz |
THRIFT-4902: Swift 4 and 5 compatibility (#1827)
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index 4a399a60e..400cfa146 100644 --- a/.travis.yml +++ b/.travis.yml @@ -148,7 +148,28 @@ jobs: env: - JOB="Coverity Scan" - SCRIPT="covscan.sh" - + + # ------------------------- phase: swift ------------------------ + # We lint the podspec + - os: osx + osx_image: xcode10.1 + language: swift + script: + - gem update cocoapods + - pod lib lint --allow-warnings --swift-version=3 + env: + - JOB="pod lib lint" + + - os: osx + osx_image: xcode10.2 + language: swift + script: + - gem update cocoapods + - pod lib lint --allow-warnings --swift-version=4.0 + - pod lib lint --allow-warnings --swift-version=4.2 + - pod lib lint --allow-warnings --swift-version=5.0 + env: + - JOB="pod lib lint" ### ------------------------- phase: osx -------------------------- # disabled due to the time delays it imposes on build jobs |