Skip to content

Commit

Permalink
travis: Use xcode 11 for Swift 5.1 tests (#46)
Browse files Browse the repository at this point in the history
* travis: Use xcode 11 for Swift 5.1 tests

* Install python3 and upgrade pip

* Use python3/pip3

* Don't run autobahn on xcode11 image

* Upgrade pip

* Use swift:5.0.2 images
  • Loading branch information
Pushkar N Kulkarni authored Aug 10, 2019
1 parent 7db750d commit b98bb3e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
1 change: 1 addition & 0 deletions .autobahn.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ install_autobahn() {
&& pip install --upgrade pip \
&& pip install autobahntestsuite
else
pip install --upgrade pip
pip install autobahntestsuite
fi
}
Expand Down
9 changes: 5 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,20 @@ matrix:
dist: xenial
sudo: required
services: docker
env: DOCKER_IMAGE=swift:5.0.1-xenial DOCKER_PRIVILEGED=true DOCKER_PACKAGES="libz-dev"
env: DOCKER_IMAGE=swift:5.0.2-xenial DOCKER_PRIVILEGED=true DOCKER_PACKAGES="libz-dev"
- os: linux
dist: xenial
sudo: required
services: docker
env: DOCKER_IMAGE=swift:5.0.1 SWIFT_SNAPSHOT=$SWIFT_DEVELOPMENT_SNAPSHOT DOCKER_PRIVILEGED=true DOCKER_PACKAGES="libz-dev"
env: DOCKER_IMAGE=swift:5.0.2 SWIFT_SNAPSHOT=$SWIFT_DEVELOPMENT_SNAPSHOT DOCKER_PRIVILEGED=true DOCKER_PACKAGES="libz-dev"
- os: osx
osx_image: xcode10.2
sudo: required
env: CUSTOM_TEST_SCRIPT=.autobahn.sh
- os: osx
osx_image: xcode10.2
osx_image: xcode11
sudo: required
env: SWIFT_SNAPSHOT=$SWIFT_DEVELOPMENT_SNAPSHOT CUSTOM_TEST_SCRIPT=.autobahn.sh
env: SWIFT_SNAPSHOT=$SWIFT_DEVELOPMENT_SNAPSHOT

before_install:
- git clone https://github.com/IBM-Swift/Package-Builder.git
Expand Down

0 comments on commit b98bb3e

Please sign in to comment.