os:
- linux
- osx
language: generic
sudo: required
dist: trusty
osx_image: xcode9.4
env:
- SWIFT_VERSION=4.0
- SWIFT_VERSION=4.1
install:
- git clone https://github.com/kylef/swiftenv.git ~/.swiftenv
- export SWIFTENV_ROOT="$HOME/.swiftenv"
- export PATH="$SWIFTENV_ROOT/bin:$PATH"
- eval "$(swiftenv init -)"
- swiftenv install "$SWIFT_VERSION" || true
- swift --version
script:
- swift test

os:
- linux
- osx
language: generic
sudo: required
dist: trusty
osx_image: xcode9.4
env:
- SWIFT_VERSION=4.0
- SWIFT_VERSION=4.1.2
install:
- git clone https://github.com/kylef/swiftenv.git ~/.swiftenv
- export SWIFTENV_ROOT="$HOME/.swiftenv"
- export PATH="$SWIFTENV_ROOT/bin:$PATH"
- eval "$(swiftenv init -)"
- swiftenv install "$SWIFT_VERSION" || true
- swift --version
script:
- swift test

Use swift 4.1.2 in testing
Use swift 4.1.2 in testing
