forked from nerdishbynature/octokit.swift
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
32 lines (32 loc) · 894 Bytes
/
.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
language: generic
osx_image: xcode9.2
sudo: false
env:
global:
- LC_CTYPE=en_US.UTF-8
- LANG=en_US.UTF-8
- FASTLANE_LANE=ci_commit
matrix:
include:
- os: osx
env: FASTLANE_LANE=code_coverage FASTLANE_ENV=default
- os: osx
env: FASTLANE_ENV=ios93
- os: osx
env: FASTLANE_ENV=tvos92
- os: osx
env: FASTLANE_ENV=osx
- os: linux
sudo: required
dist: trusty
env: SWIFT_VERSION=4.2
before_install:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ./Script/travis-install-linux; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then ./Script/travis-install-macos; fi
script:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ./Script/travis-script-linux; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then ./Script/travis-script-macos; fi
after_success:
- if [ "$FASTLANE_LANE" == "code_coverage" ]; then
make post_coverage;
fi