Skip to content

Commit

Permalink
Use Swift 4...
Browse files Browse the repository at this point in the history
  • Loading branch information
0xTim committed Sep 27, 2017
1 parent d203bf6 commit 23a3179
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ before_install:
brew install vapor;
else
eval "$(curl -sL https://apt.vapor.sh)";
sudo apt-get install vapor=2.0.3 swift=3.1.1;
sudo apt-get install vapor;
sudo chmod -R a+rx /usr/;
fi

Expand Down
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
FROM swift:3.1
FROM swiftdocker/swift:latest

WORKDIR /package

COPY . ./

RUN swift --version
RUN swift package tools-version
RUN swift package --enable-prefetching fetch
RUN swift package clean
CMD swift test

0 comments on commit 23a3179

Please sign in to comment.