44 lines
1.3 KiB
YAML
44 lines
1.3 KiB
YAML
# Travis CI
|
|
|
|
# https://swift.org/download/#releases
|
|
# whitelist (branches that should be built)
|
|
branches:
|
|
only:
|
|
- master
|
|
- develop
|
|
|
|
# the matrix of builds should cover each combination of Swift version
|
|
# and platform that is supported. The version of Swift used is specified
|
|
# by .swift-version, unless SWIFT_SNAPSHOT is specified.
|
|
matrix:
|
|
include:
|
|
# Continue to test one permutation on Trusty (14.04)
|
|
- os: linux
|
|
dist: xenial
|
|
sudo: required
|
|
services: docker
|
|
env: DOCKER_IMAGE=swift:5.0.3-xenial SWIFT_SNAPSHOT=5.0.3 SWIFT_TEST_ARGS="--parallel"
|
|
- os: linux
|
|
dist: xenial
|
|
sudo: required
|
|
services: docker
|
|
env: DOCKER_IMAGE=swift:5.1.5-xenial SWIFT_SNAPSHOT=5.1.5 SWIFT_TEST_ARGS="--parallel"
|
|
- os: osx
|
|
osx_image: xcode10.2
|
|
sudo: required
|
|
env: SWIFT_SNAPSHOT=5.0.1 SWIFT_TEST_ARGS="--parallel"
|
|
- os: osx
|
|
osx_image: xcode11.3
|
|
sudo: required
|
|
env: SWIFT_SNAPSHOT=5.1.3 SWIFT_TEST_ARGS="--parallel"
|
|
- os: osx
|
|
osx_image: xcode13.3
|
|
sudo: required
|
|
env: SWIFT_SNAPSHOT=$SWIFT_DEVELOPMENT_SNAPSHOT SWIFT_TEST_ARGS="--parallel"
|
|
|
|
before_install:
|
|
- git clone https://github.com/IBM-Swift/Package-Builder.git
|
|
|
|
script:
|
|
- ./Package-Builder/build-package.sh -projectDir $TRAVIS_BUILD_DIR
|