Travis-CI for Linux

This commit is contained in:
YOCKOW 2017-09-26 12:10:22 +09:00
parent 3206a0eeba
commit eaac8e9a53
1 changed files with 18 additions and 3 deletions

View File

@ -1,4 +1,19 @@
language: objective-c
matrix:
include:
- os: linux
dist: trusty
sudo: required
language: ruby
before_install:
- export SWIFT_ARCHIVE_URL="https://swift.org/builds/swift-4.0-release/ubuntu1404/swift-4.0-RELEASE/swift-4.0-RELEASE-ubuntu14.04.tar.gz"
- curl ${SWIFT_ARCHIVE_URL} -o ../swift.tar.gz
- mkdir ../swift
- tar xzf ../swift.tar.gz -C ../swift --strip-components 1
- export PATH="$(realpath \"$(pwd)/../swift/usr/bin\"):${PATH}"
- os: osx
osx_image: xcode9
sudo: required
language: objective-c
script:
- ./build-install.rb --debug