forked from MakeAWishFoundation/SwiftyMocky
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
56 lines (53 loc) · 1.74 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
matrix:
include:
- os: osx
language: swift
osx_image: xcode10.2
install:
- rake pods
- brew install mint
script:
- swift --version
- swift build -c release
- swift run -c release --skip-build --skip-update swiftymocky doctor
- swift run -c release --skip-build --skip-update swiftymocky generate
- swift test
- fastlane ios test
- rake mock # legacy mock generation
- fastlane tvos test
- os: osx
language: swift
osx_image: xcode11.2
install:
- rake pods
- brew install mint
script:
- swift --version
- instruments -s
- swift build -c release
- swift run -c release --skip-build --skip-update swiftymocky doctor
- swift run -c release --skip-build --skip-update swiftymocky generate
- swift test
- fastlane ios test
- rake mock # legacy mock generation
- fastlane tvos test_13
# For now, Sourcery does not work on linux, so commented it out
- os: linux
dist: trusty
sudo: required
language: generic
env:
- SWIFT_BRANCH=swift-5.0-release
- SWIFT_VERSION=swift-5.0-RELEASE
install:
- sudo apt-get install clang libicu-dev
- mkdir swift
- curl https://swift.org/builds/$SWIFT_BRANCH/ubuntu1404/$SWIFT_VERSION/$SWIFT_VERSION-ubuntu14.04.tar.gz -s | tar xz -C swift &> /dev/null
- export PATH="$(pwd)/swift/$SWIFT_VERSION-ubuntu14.04/usr/bin:$PATH"
# - git clone https://github.com/yonaskolb/Mint.git
# - cd Mint && swift run mint install yonaskolb/mint
script:
- swift --version
- swift test
notifications:
email: false