From 82b9745c26948d90aed6eec9535a42d633c022b5 Mon Sep 17 00:00:00 2001 From: Danny Sung Date: Fri, 25 Mar 2022 11:09:55 -0700 Subject: [PATCH] Minimum Swift version is now 5.2 (#66) * Minimum Swift version is now 5.2 * Adjust CI builds --- .travis.yml | 10 ++++------ HTMLEntities.podspec | 1 + Package.swift | 2 +- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index 007d1b3..6ef3fb3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,7 +15,7 @@ matrix: dist: xenial sudo: required services: docker - env: DOCKER_IMAGE=docker.kitura.net/kitura/swift-ci-ubuntu16.04:5.1.5 + env: DOCKER_IMAGE=docker.kitura.net/kitura/swift-ci-ubuntu18.04:5.2.5 - os: linux dist: bionic sudo: required @@ -26,18 +26,16 @@ matrix: sudo: required services: docker env: DOCKER_IMAGE=docker.kitura.net/kitura/swift-ci-ubuntu18.04:latest USE_SWIFT_DEVELOPMENT_SNAPSHOT=1 - - os: osx - osx_image: xcode11 - sudo: required - env: SWIFT_SNAPSHOT=5.1.5 JAZZY_ELIGIBLE=true - os: osx osx_image: xcode12.2 sudo: required + env: JAZZY_ELIGIBLE=true - os: osx - osx_image: xcode12.5 + osx_image: xcode13.2 sudo: required env: USE_SWIFT_DEVELOPMENT_SNAPSHOT=1 + before_install: - git clone https://github.com/Kitura/Package-Builder.git diff --git a/HTMLEntities.podspec b/HTMLEntities.podspec index 4458b2f..d07cde6 100644 --- a/HTMLEntities.podspec +++ b/HTMLEntities.podspec @@ -75,6 +75,7 @@ In addition, `HTMLEntities` can unescape encoded HTML text that contains decimal s.osx.deployment_target = "10.10" # s.watchos.deployment_target = "2.0" # s.tvos.deployment_target = "9.0" + s.swift_version = "5.2" # ――― Source Location ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― # diff --git a/Package.swift b/Package.swift index 4714b8a..3efad70 100644 --- a/Package.swift +++ b/Package.swift @@ -1,4 +1,4 @@ -// swift-tools-version:5.0 +// swift-tools-version:5.2 // The swift-tools-version declares the minimum version of Swift required to build this package. /**