Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tolerate Swift 5 #42

Merged
merged 2 commits into from
Dec 14, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 16 additions & 12 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,8 @@
branches:
only:
- master
- develop
- /^issue.*$/

notifications:
slack:
secure: "a8YICVgxrxDWGRytxE1btfADbQEsSlIoxigk8bwuK0RWfuRQVlWkfB1eRpAmSVbyxeMbVH4D5rY7b7R4mH6erfCB1wEsh5nMrataBzPa5AR3zaqu6cYYUOpZJQfMjGCUBtH0xqcC4YWGmqdxSfpNGV+xyTG9WKTuOirz0elZT9NqlgmXrGjn+BamiuTC8I0KYb3Pmv/WWP012rKzJUb+D0I4OLE0iQgGC5gVfB9RxtB+2ZuhtLcSdDpI9ugkRTNV/q6bfZ+iZLZY5vLh9DtJiOT7I9j3KkrrD3+kJs9z8AsIHUyIEsgwsD6ZkMboEpPPnrXXMsENaj7f+IxugqURslgANqnPgl1cR8YHA865pMY1PUD9oWk5yPtQZ3CLrp4Tr/DNF3NI58QWwQxnGkRQERMxPiECxU6if5PQmX/utgmd36TGZPGb1iLYo3RAIok6EyhYsz8OdYSkbNMvMWcnpw17Zbi84izNJ9KslK7uwheTZ0cPwKeKFm9Tj801CM+9Qa22JxSjdSx45NIrcpdiAihb/cpmiPSsLyDqSyLl6Z8ABFELl70EJTJQ1+V1u9AsY0cMcvM3xe9Ra1oR1ydydzyjnQpxTowcCcKoyiDSukRuRwpQYq8galvLKdvhQmZkpWA/klUFT4X24AVFCtYpFCzVdHUmA7qHOAK2ezWT+OA="

matrix:
include:
- os: linux
Expand All @@ -17,21 +12,30 @@ matrix:
dist: trusty
sudo: required
env: SWIFT_SNAPSHOT=4.0.3
- os: linux
dist: trusty
sudo: required
env: SWIFT_SNAPSHOT=4.1-DEVELOPMENT-SNAPSHOT-2018-02-26-a
# Tests fail on Swift 4.2 on Linux.
# - os: linux
# dist: trusty
# sudo: required
# env: DOCKER_IMAGE=ubuntu:16.04 SWIFT_SNAPSHOT=4.2.1
# - os: linux
# dist: trusty
# sudo: required
# env: DOCKER_IMAGE=ubuntu:16.04 SWIFT_SNAPSHOT=$SWIFT_DEVELOPMENT_SNAPSHOT
- os: osx
osx_image: xcode8.3
sudo: required
- os: osx
osx_image: xcode9
osx_image: xcode9.2
sudo: required
env: SWIFT_SNAPSHOT=4.0.3
- os: osx
osx_image: xcode9.3beta
osx_image: xcode9.4
sudo: required
env: SWIFT_SNAPSHOT=4.1.2
- os: osx
osx_image: xcode10.1
sudo: required
env: SWIFT_SNAPSHOT=4.1-DEVELOPMENT-SNAPSHOT-2018-02-26-a
env: SWIFT_SNAPSHOT=$SWIFT_DEVELOPMENT_SNAPSHOT

before_install:
- git clone https://github.com/IBM-Swift/Package-Builder.git
Expand Down
File renamed without changes.
43 changes: 43 additions & 0 deletions Package@swift-5.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
// swift-tools-version:4.0
// The swift-tools-version declares the minimum version of Swift required to build this package.
/**
* Copyright IBM Corporation 2016, 2017
*
* 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.
**/

import PackageDescription

let package = Package(
name: "SwiftyJSON",
products: [
// Products define the executables and libraries produced by a package, and make them visible to other packages.
.library(
name: "SwiftyJSON",
targets: ["SwiftyJSON"]
)
],
dependencies: [],
targets: [
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
// Targets can depend on other targets in this package, and on products in packages which this package depends on.
.target(
name: "SwiftyJSON",
dependencies: []
),
.testTarget(
name: "SwiftyJSONTests",
dependencies: ["SwiftyJSON"]
)
]
)