forked from orlandos-nl/BSON
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
72 lines (70 loc) · 1.9 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
language: generic
matrix:
include:
# Swift 3.1 macOS
- os: osx
osx_image: xcode8.3
env:
- BUILD_LABEL: Swift 3.1 on macOS
- SWIFT_VERSION: system
script:
swift test
# Swift 3.0 macOS
- os: osx
osx_image: xcode8.3
env:
- BUILD_LABEL: Swift 3.0 on macOS
- SWIFT_VERSION: 3.0.2
script:
swift test
# Swift 3.2/4.0 macOS
- os: osx
osx_image: xcode9
env:
- BUILD_LABEL: Swift 3.2/4.0 on macOS
- SWIFT_VERSION: system
script:
swift test
# Swift 3.0 Linux
- os: linux
dist: trusty
env:
- BUILD_LABEL: Swift 3.0 on Linux
- SWIFT_VERSION: 3.0.2
script:
swift test
# Swift 3.1 Linux
- os: linux
dist: trusty
env:
- BUILD_LABEL: Swift 3.1 on Linux
- SWIFT_VERSION: 3.1.1
script:
swift test
# Swift 3.2/4.0 Linux
- os: linux
dist: trusty
env:
- BUILD_LABEL: Swift 3.2/4.0 on Linux
- SWIFT_VERSION: 4.0-DEVELOPMENT-SNAPSHOT-2017-07-20-a
script:
swift test
# Swift 3.1 iOS 64-bit
- os: osx
osx_image: xcode8.3
env:
- BUILD_LABEL: Swift 3.1 on 64-bit iOS
- SWIFT_VERSION: system
script:
xcodebuild -project Cheetah.xcodeproj -scheme Cheetah -destination 'platform=iOS Simulator,name=iPhone 7,OS=latest' test
# Swift 3.2/4.0 iOS 64-bit
- os: osx
osx_image: xcode9
env:
- BUILD_LABEL: Swift 3.2/4.0 on 64-bit iOS
- SWIFT_VERSION: system
script:
xcodebuild -project Cheetah.xcodeproj -scheme Cheetah -destination 'platform=iOS Simulator,name=iPhone 7,OS=latest' test
install:
- eval "$(curl -sL https://gist.githubusercontent.com/kylef/5c0475ff02b7c7671d2a/raw/9f442512a46d7a2af7b850d65a7e9bd31edfb09b/swiftenv-install.sh)"
- swift package generate-xcodeproj