os:
- linux
- osx
language: generic
sudo: required
dist: trusty
osx_image: xcode9
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
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

Test on Xcode 9.4 image
Test on Xcode 9.4 image
