forked from ole/SortedArray
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
34 lines (31 loc) · 1.07 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
matrix:
include:
- os: osx
language: generic
# Xcode version implicitly defines the Swift version to be used on macOS.
osx_image: xcode8.3
- os: osx
language: generic
# Xcode version implicitly defines the Swift version to be used on macOS.
osx_image: xcode9
- os: linux
language: generic
sudo: required
services:
- docker
env:
# The Docker image to use on Linux in Docker notation,
# e.g. "swift" or "myusername/myswift" or "swift:3.0.2".
# The image must have Swift installed so that the `swift`
# command is in the `$PATH`.
#
# I recommend Docker Hub's "official" (not maintained by Apple)
# Swift image at https://hub.docker.com/r/_/swift/. Its name
# is simply "swift".
#
# You can use tags to select a specific Swift version if the
# image supports it, e.g. "swift:3.0.2" or "swift:latest".
DOCKER_IMAGE="swift:3.1"
script:
- chmod ugo+x ./scripts/travis-build-script.sh
- ./scripts/travis-build-script.sh