From 08a6eb6e1f21aa15682e414e124d7ee1a51a39c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antoine=20C=C5=93ur?= Date: Mon, 8 Jul 2019 18:42:09 +0800 Subject: THRIFT-4902: Swift 4 and 5 compatibility (#1827) --- .travis.yml | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) (limited to '.travis.yml') 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 -- cgit v1.2.1