Skip to content

Commit

Permalink
Update to Swift 3.1; add new Travis matrix to test code on Swift 3.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
youming-lin committed Mar 28, 2017
1 parent da20c06 commit 1cb03a9
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .swift-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.0.2
3.1
7 changes: 6 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,17 @@ matrix:
- os: linux
dist: trusty
sudo: required
- os: linux
dist: trusty
sudo: required
env: SWIFT_VERSION=3.0.2
- os: osx
osx_image: xcode8.2
osx_image: xcode8.3
sudo: required

before_install:
- git clone https://github.com/IBM-Swift/Package-Builder.git
- test -n "$SWIFT_VERSION" && echo "$SWIFT_VERSION" > .swift-version || echo "SWIFT_VERSION not set, using $(cat .swift-version)"

script:
- ./Package-Builder/build-package.sh -projectDir $TRAVIS_BUILD_DIR
7 changes: 7 additions & 0 deletions Package.pins
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"autoPin": false,
"pins": [

],
"version": 1
}

0 comments on commit 1cb03a9

Please sign in to comment.