forked from spotify/HubFramework
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
46 lines (39 loc) · 1.41 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
branches:
only:
- master
- /^release-.*$/
language: objective-c
bundler_args: --without documentation --without development --deployment --jobs=3 --retry=3
script:
- fastlane ci_all
- if [[ "$RUN_DANGER" == "YES" ]]; then
fastlane validate_changes;
fi
- if [[ "$UPDATE_DOCUMENTATION" == "YES" ]]; then
fastlane update_docs;
fi
# This is a workaround for a Travis-CI bug where the log might get cut-off.
# See the [Travis-CI issue #4716](https://github.com/travis-ci/travis-ci/issues/4716).
- sleep 3
env:
global:
- LC_CTYPE=en_US.UTF-8
- LANG=en_US.UTF-8
# Make fastlane open the simulator before running tests. A workaround for error 65.
- FASTLANE_EXPLICIT_OPEN_SIMULATOR=2
- TEST_DEVICE_NAME="iPhone 6s"
matrix:
fast_finish: true
include:
# Main job; builds, tests, validates the changes and updates our documentation.
- osx_image: xcode8.1
rvm: 2.2.5
env: LINT=YES RUN_TESTS=YES RUN_DANGER=YES BUILD_DEMO_APP=YES RUN_UI_TESTS=YES BUILD_LIVE_CLI=YES UPDATE_DOCUMENTATION=YES
# Compatibility job; makes sure the library is buildable by Xcode 7.3.1. The demo app requires
# Xcode 8 to build and link so skip it.
- osx_image: xcode7.3
rvm: 2.2.5
env: LINT=YES RUN_TESTS=YES RUN_DANGER=NO BUILD_DEMO_APP=NO RUN_UI_TESTS=NO BUILD_LIVE_CLI=NO UPDATE_DOCUMENTATION=NO
cache: bundler
notifications:
email: false