Skip to content

Commit

Permalink
fix(CI): use vapor utility for setting up swift on linux
Browse files Browse the repository at this point in the history
  • Loading branch information
ythecombinator committed Aug 7, 2017
1 parent e42e178 commit 6a961fd
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,20 @@ os:
language: generic
sudo: required
dist: trusty

osx_image: xcode8.3
before_install:
- if [ $TRAVIS_OS_NAME == "osx" ]; then
brew tap vapor/tap;
brew update;
brew install vapor;
else
eval "$(curl -sL https://apt.vapor.sh)";
sudo apt-get install vapor;
sudo chmod -R a+rx /usr/;
fi

script:
- swift build
- swift build -c release
- SPM_ENV=test swift test
- SPM_ENV=test swift test

0 comments on commit 6a961fd

Please sign in to comment.