forked from soto-project/soto-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
26 lines (25 loc) · 1.17 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
language: generic
matrix:
include:
- os: linux
services: docker
before_install:
- docker pull swift:5.0
script:
- docker run -v "$(pwd):/root/aws-sdk-swift-core" swift:5.0 /bin/sh -c "apt-get -qq update && apt-get -q -y install tzdata libssl-dev zlib1g-dev && rm -r /var/lib/apt/lists/* && cd /root/aws-sdk-swift-core && swift build && swift test --parallel -Xswiftc -DDEBUG"
- os: linux
services: docker
before_install:
- docker pull swift:5.1
script:
- docker run -v "$(pwd):/root/aws-sdk-swift-core" swift:5.1 /bin/sh -c "apt-get -qq update && apt-get -q -y install tzdata libssl-dev zlib1g-dev && rm -r /var/lib/apt/lists/* && cd /root/aws-sdk-swift-core && swift build && swift test --parallel -Xswiftc -DDEBUG"
- os: osx
language: swift
osx_image: xcode11
script:
- swift build
- swift test --parallel -Xswiftc -DDEBUG
- swift package generate-xcodeproj
- xcodebuild -quiet -parallel-testing-enabled YES -scheme AWSSDKSwiftCore-Package -enableCodeCoverage YES build test
after_success:
- bash <(curl -s https://codecov.io/bash) -J 'AWSSDKSwiftCore'