From fc67970caccfd23b0da802d74dcacbe8db7f1e90 Mon Sep 17 00:00:00 2001 From: Bouke Haarsma Date: Sun, 16 Apr 2017 12:19:05 +0200 Subject: [PATCH] Test against Linux (allow failure) --- .swift-version | 1 + .travis.yml | 16 +++++++++++++--- 2 files changed, 14 insertions(+), 3 deletions(-) create mode 100644 .swift-version diff --git a/.swift-version b/.swift-version new file mode 100644 index 0000000..8c50098 --- /dev/null +++ b/.swift-version @@ -0,0 +1 @@ +3.1 diff --git a/.travis.yml b/.travis.yml index 74df331..392bdff 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,3 +1,13 @@ -language: objective-c -osx_image: xcode8.2 -script: swift test +language: generic +install: + - eval "$(curl -sL https://gist.githubusercontent.com/kylef/5c0475ff02b7c7671d2a/raw/9f442512a46d7a2af7b850d65a7e9bd31edfb09b/swiftenv-install.sh)" +script: swift build +matrix: + include: + - os: osx + osx_image: xcode8.3 + - os: linux + dist: trusty + sudo: required + allow_failures: + - os: linux