This repository has been archived by the owner on Jan 17, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 341
/
.travis.yml
55 lines (55 loc) · 1.65 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
language: objective-c
osx_image: xcode7.1
sudo: false
env:
global:
- LC_CTYPE=en_US.UTF-8
- LANG=en_US.UTF-8
- FASTLANE_LANE=test_framework
matrix:
include:
- osx_image: xcode7.3
env: FASTLANE_LANE=code_coverage FASTLANE_ENV=default
- osx_image: xcode7.3
env: FASTLANE_ENV=ios82
- osx_image: xcode7.3
env: FASTLANE_ENV=ios83
- osx_image: xcode7.3
env: FASTLANE_ENV=ios84
- osx_image: xcode7.3
env: FASTLANE_ENV=ios92
- osx_image: xcode7.3
env: FASTLANE_ENV=ios93
- osx_image: xcode7.3
env: FASTLANE_ENV=tvos91
- osx_image: xcode7.3
env: FASTLANE_ENV=osx
- osx_image: xcode7.1
env: FASTLANE_ENV=ios91_xcode71
- osx_image: xcode7.1
env: FASTLANE_ENV=tvos90_xcode71
- osx_image: xcode7
env: FASTLANE_ENV=ios81_xcode7
- osx_image: xcode7
env: FASTLANE_ENV=ios90_xcode7
before_install:
- gem install fastlane --no-rdoc --no-ri --no-document --quiet
- gem install cocoapods --no-rdoc --no-ri --no-document --quiet
- gem install xcpretty --no-rdoc --no-ri --no-document --quiet
script:
- set -o pipefail
- fastlane $FASTLANE_LANE configuration:Debug --env $FASTLANE_ENV
- fastlane $FASTLANE_LANE configuration:Release --env $FASTLANE_ENV
after_success:
- if [ "$FASTLANE_LANE" == "code_coverage" ]; then
bash <(curl -s https://codecov.io/bash);
fi
after_failure:
- cat -n ~/Library/Logs/scan/*
- cat -n $TMPDIR/com.apple.dt.XCTest-status/Session*.log
- cat -n ~/Library/Logs/DiagnosticReports/xctest*.crash
# deploy:
# provider: script
# script: fastlane complete_framework_release --env deploy
# on:
# tags: true