Skip to content

Commit

Permalink
Add Swift 4.2 snapshots to Travis (#35)
Browse files Browse the repository at this point in the history
* Add Swift 4.2 snapshot to Travis

* Specify supported Swift versions in README

* Remove obsolete Package.pins
  • Loading branch information
djones6 authored and KyeMaloy97 committed Jul 2, 2018
1 parent 0ed756f commit 3c3ee5a
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 7 deletions.
12 changes: 10 additions & 2 deletions .travis.yml
Expand Up @@ -17,14 +17,22 @@ matrix:
- os: linux
dist: trusty
sudo: required
- os: linux
dist: trusty
sudo: required
env: SWIFT_SNAPSHOT=swift-4.2-DEVELOPMENT-SNAPSHOT-2018-06-26-a
- os: osx
osx_image: xcode9.2
sudo: required
env: SWIFT_SNAPSHOT=4.0.3
- os: osx
osx_image: xcode9.3
osx_image: xcode9.4
sudo: required
env: JAZZY_ELIGIBLE=true
- os: osx
osx_image: xcode9.4
sudo: required
env: SWIFT_SNAPSHOT:4.1 JAZZY_ELIGIBLE=true
env: SWIFT_SNAPSHOT=swift-4.2-DEVELOPMENT-SNAPSHOT-2018-06-04-a

before_install:
- git clone https://github.com/IBM-Swift/Package-Builder.git
Expand Down
5 changes: 0 additions & 5 deletions Package.pins

This file was deleted.

3 changes: 3 additions & 0 deletions README.md
Expand Up @@ -27,6 +27,9 @@ A templating engine for Kitura that uses Stencil-based templates.
## Summary
Kitura-StencilTemplateEngine is a plugin for [Kitura Template Engine](https://github.com/IBM-Swift/Kitura-TemplateEngine.git) for using [Stencil](https://github.com/kylef/Stencil) with the [Kitura](https://github.com/IBM-Swift/Kitura) server framework. This makes it easy to use Stencil templating, with a Kitura server, to create an HTML page with integrated Swift variables.

## Swift version
The latest version of Kitura-StencilTemplateEngine 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.

## Stencil Template File
The template file is basically HTML with gaps where we can insert code and variables. [Stencil](https://github.com/kylef/Stencil) is a templating language used to write a template file and Kitura-StencilTemplateEngine can use any standard Stencil template.

Expand Down

0 comments on commit 3c3ee5a

Please sign in to comment.