Skip to content

Commit

Permalink
swift build travis
Browse files Browse the repository at this point in the history
  • Loading branch information
tanner0101 committed Feb 4, 2016
1 parent 0344f3b commit e0a5c43
Showing 1 changed file with 22 additions and 6 deletions.
28 changes: 22 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,26 @@
language: objective-c
#language: objective-c

before_install:
- brew update
- if brew outdated | grep -qx xctool; then brew upgrade xctool; fi
#before_install:
#- brew update
#- if brew outdated | grep -qx xctool; then brew upgrade xctool; fi

#script:
#- touch /Users/travis/build/tannernelson/vapor/Sources/main.swift
#- xctool clean build -project Vapor.xcodeproj -scheme Vapor
#- xctool test -project Vapor.xcodeproj -scheme Tests

language: generic

sudo: required
dist: trusty

env:
- SWIFT_VERSION=swift-2.2-SNAPSHOT-2015-12-01-b

install:
- mkdir swift
- curl https://swift.org/builds/ubuntu1404/$SWIFT_VERSION/$SWIFT_VERSION-ubuntu14.04.tar.gz -s | tar xz -C swift &> /dev/null

script:
- touch /Users/travis/build/tannernelson/vapor/Sources/main.swift
- xctool clean build -project Vapor.xcodeproj -scheme Vapor
- xctool test -project Vapor.xcodeproj -scheme Tests
- env PATH=$(pwd)/swift/$SWIFT_VERSION-ubuntu14.04/usr/bin:$PATH swift build

0 comments on commit e0a5c43

Please sign in to comment.