Skip to content

Commit b9f5355

Browse files
authored
Update TravisCI rules (remove Swift 4.x; add Swift 5.4); update github org to Kitura (#204)
1 parent 92c9eb5 commit b9f5355

149 files changed

Lines changed: 11564 additions & 11380 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.jazzy.yaml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module: SwiftKuery
2-
author: IBM
3-
github_url: https://github.com/IBM-Swift/Swift-Kuery/
2+
author: IBM & Kitura project authors
3+
github_url: https://github.com/Kitura/Swift-Kuery/
44

55
theme: fullwidth
66
clean: true
@@ -10,5 +10,3 @@ readme: README.md
1010

1111
skip_undocumented: false
1212
hide_documentation_coverage: false
13-
14-
xcodebuild_arguments: [-project, SwiftKuery.xcodeproj, -target, SwiftKuery, LIBRARY_SEARCH_PATHS=.build/debug]

.travis.yml

Lines changed: 10 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -16,58 +16,31 @@ matrix:
1616
dist: xenial
1717
sudo: required
1818
services: docker
19-
env: DOCKER_IMAGE=swift:4.0.3 SWIFT_SNAPSHOT=4.0.3
19+
env: DOCKER_IMAGE=docker.kitura.net/kitura/swift-ci-ubuntu16.04:5.1.5
2020
- os: linux
21-
dist: xenial
22-
sudo: required
23-
services: docker
24-
env: DOCKER_IMAGE=swift:4.1.3 SWIFT_SNAPSHOT=4.1.3
25-
- os: linux
26-
dist: xenial
27-
sudo: required
28-
services: docker
29-
env: DOCKER_IMAGE=swift:4.2.4 SWIFT_SNAPSHOT=4.2.4
30-
- os: linux
31-
dist: xenial
32-
sudo: required
33-
services: docker
34-
env: DOCKER_IMAGE=swift:5.0.3-xenial SWIFT_SNAPSHOT=5.0.3
35-
- os: linux
36-
dist: xenial
21+
dist: bionic
3722
sudo: required
3823
services: docker
39-
env: DOCKER_IMAGE=swift:5.1
24+
env: DOCKER_IMAGE=docker.kitura.net/kitura/swift-ci-ubuntu18.04:5.4
4025
- os: linux
4126
dist: xenial
4227
sudo: required
4328
services: docker
44-
env: DOCKER_IMAGE=swift:5.1 SWIFT_SNAPSHOT=$SWIFT_DEVELOPMENT_SNAPSHOT
45-
- os: osx
46-
osx_image: xcode9.2
47-
sudo: required
48-
env: SWIFT_SNAPSHOT=4.0.3
49-
- os: osx
50-
osx_image: xcode9.4
51-
sudo: required
52-
env: SWIFT_SNAPSHOT=4.1.2
29+
env: DOCKER_IMAGE=docker.kitura.net/kitura/swift-ci-ubuntu18.04:latest USE_SWIFT_DEVELOPMENT_SNAPSHOT=1
5330
- os: osx
54-
osx_image: xcode10.1
31+
osx_image: xcode11
5532
sudo: required
56-
env: SWIFT_SNAPSHOT=4.2.1
33+
env: SWIFT_SNAPSHOT=5.1.5 JAZZY_ELIGIBLE=true
5734
- os: osx
58-
osx_image: xcode10.2
35+
osx_image: xcode12.2
5936
sudo: required
60-
env: SWIFT_SNAPSHOT=5.0.1 JAZZY_ELIGIBLE=true
6137
- os: osx
62-
osx_image: xcode11
63-
sudo: required
64-
- os: osx
65-
osx_image: xcode11
38+
osx_image: xcode12.5
6639
sudo: required
67-
env: SWIFT_SNAPSHOT=$SWIFT_DEVELOPMENT_SNAPSHOT
40+
env: USE_SWIFT_DEVELOPMENT_SNAPSHOT=1
6841

6942
before_install:
70-
- git clone https://github.com/IBM-Swift/Package-Builder.git
43+
- git clone https://github.com/Kitura/Package-Builder.git
7144

7245
script:
7346
- ./Package-Builder/build-package.sh -projectDir $TRAVIS_BUILD_DIR

Package@swift-4.swift

Lines changed: 0 additions & 45 deletions
This file was deleted.

README.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
<p align="center">
22
<a href="http://kitura.io/">
3-
<img src="https://raw.githubusercontent.com/IBM-Swift/Kitura/master/Sources/Kitura/resources/kitura-bird.svg?sanitize=true" height="100" alt="Kitura">
3+
<img src="https://raw.githubusercontent.com/Kitura/Kitura/master/Sources/Kitura/resources/kitura-bird.svg?sanitize=true" height="100" alt="Kitura">
44
</a>
55
</p>
66

77

88
<p align="center">
9-
<a href="https://ibm-swift.github.io/Swift-Kuery/index.html">
9+
<a href="https://kitura.github.io/Swift-Kuery/index.html">
1010
<img src="https://img.shields.io/badge/apidoc-SwiftKuery-1FBCE4.svg?style=flat" alt="APIDoc">
1111
</a>
12-
<a href="https://travis-ci.org/IBM-Swift/Swift-Kuery">
13-
<img src="https://travis-ci.org/IBM-Swift/Swift-Kuery.svg?branch=master" alt="Build Status - Master">
12+
<a href="https://travis-ci.org/Kitura/Swift-Kuery">
13+
<img src="https://travis-ci.org/Kitura/Swift-Kuery.svg?branch=master" alt="Build Status - Master">
1414
</a>
1515
<img src="https://img.shields.io/badge/os-macOS-green.svg?style=flat" alt="macOS">
1616
<img src="https://img.shields.io/badge/os-linux-green.svg?style=flat" alt="Linux">
@@ -24,7 +24,7 @@
2424

2525
`Swift-Kuery` is a pluggable SQL database driver/SDK abstraction layer. Its main idea is to unify the APIs to the various relational databases, providing a Swifty yet SQL-like API. This allows easy switching between databases and forms the basis for an Object-Relational Mapping (ORM) framework.
2626

27-
[Swift-Kuery-ORM](https://github.com/IBM-Swift/Swift-Kuery-ORM) is an ORM, built on top of Swift-Kuery, which allows you to simplify the persistence of model objects with your server.
27+
[Swift-Kuery-ORM](https://github.com/Kitura/Swift-Kuery-ORM) is an ORM, built on top of Swift-Kuery, which allows you to simplify the persistence of model objects with your server.
2828

2929
`Swift-Kuery` is an easy to learn, consumable framework that comes with a set of [implemented plugins](#list-of-plugins).
3030

@@ -44,7 +44,7 @@
4444
The latest version of Swift-Kuery requires **Swift 4.0** or newer. You can download this version of the Swift binaries by following this [link](https://swift.org/download/). Compatibility with other Swift versions is not guaranteed.
4545

4646
## Usage
47-
This example demonstrates how to execute an SQL query using `Swift-Kuery` with the [Swift-Kuery-PostgreSQL](https://github.com/IBM-Swift/Swift-Kuery-PostgreSQL) plugin.
47+
This example demonstrates how to execute an SQL query using `Swift-Kuery` with the [Swift-Kuery-PostgreSQL](https://github.com/Kitura/Swift-Kuery-PostgreSQL) plugin.
4848

4949
The starting point for this example is an existing Swift package. If you don't have one already, create and enter a directory named e.g. `SwiftKueryExample`. Now run the swift package's init command, to create an executable type, by running `swift package init --type executable`.
5050

@@ -72,14 +72,14 @@ The starting point for this example is an existing Swift package. If you don't h
7272
```
7373
7474
### Update your Package.swift file
75-
Add Swift-Kuery and your Kuery plugin, in this case Swift-Kuery-PostgreSQL, to the dependencies within your application's `Package.swift` file. Substitute `"x.x.x"` with the latest `Swift-Kuery` [release](https://github.com/IBM-Swift/Swift-Kuery/releases) and `"y.y.y"` with the latest plugin [release](https://github.com/IBM-Swift/Swift-Kuery-PostgreSQL/releases).
75+
Add Swift-Kuery and your Kuery plugin, in this case Swift-Kuery-PostgreSQL, to the dependencies within your application's `Package.swift` file. Substitute `"x.x.x"` with the latest `Swift-Kuery` [release](https://github.com/Kitura/Swift-Kuery/releases) and `"y.y.y"` with the latest plugin [release](https://github.com/Kitura/Swift-Kuery-PostgreSQL/releases).
7676
7777
```swift
7878
dependencies: [
7979
...
8080
// Add this line
81-
.package(url: "https://github.com/IBM-Swift/Swift-Kuery.git", from: "x.x.x"),
82-
.package(url: "https://github.com/IBM-Swift/Swift-Kuery-PostgreSQL.git", from: "y.y.y"),
81+
.package(url: "https://github.com/Kitura/Swift-Kuery.git", from: "x.x.x"),
82+
.package(url: "https://github.com/Kitura/Swift-Kuery-PostgreSQL.git", from: "y.y.y"),
8383
],
8484
targets: [
8585
.target(
@@ -619,18 +619,18 @@ let query = Select(t2.c, from: t2)
619619

620620
## List of plugins
621621

622-
* [PostgreSQL](https://github.com/IBM-Swift/Swift-Kuery-PostgreSQL)
622+
* [PostgreSQL](https://github.com/Kitura/Swift-Kuery-PostgreSQL)
623623

624-
* [SQLite](https://github.com/IBM-Swift/Swift-Kuery-SQLite)
624+
* [SQLite](https://github.com/Kitura/Swift-Kuery-SQLite)
625625

626-
* [MySQL](https://github.com/IBM-Swift/SwiftKueryMySQL)
626+
* [MySQL](https://github.com/Kitura/SwiftKueryMySQL)
627627

628628
## API Documentation
629-
For more information visit our [API reference](https://ibm-swift.github.io/Swift-Kuery/index.html).
629+
For more information visit our [API reference](https://kitura.github.io/Swift-Kuery/index.html).
630630

631631
## Community
632632

633633
We love to talk server-side Swift, and Kitura. Join our [Slack](http://swift-at-ibm-slack.mybluemix.net/) to meet the team!
634634

635635
## License
636-
This library is licensed under Apache 2.0. Full license text is available in [LICENSE](https://github.com/IBM-Swift/Swift-Kuery/blob/master/LICENSE.txt).
636+
This library is licensed under Apache 2.0. Full license text is available in [LICENSE](https://github.com/Kitura/Swift-Kuery/blob/master/LICENSE.txt).

0 commit comments

Comments
 (0)