forked from facebookarchive/WebDriverAgent
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
46 lines (37 loc) · 1.37 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
language: objective-c
osx_image: xcode10.1
sudo: false
cache:
directories:
- Carthage
- Inspector/node_modules
script: ./Scripts/build.sh
branches:
only:
- master
env:
# Builds
- PLATFORM=ios ACTION=build TARGET=runner SDK=sim
- PLATFORM=ios ACTION=build TARGET=runner SDK=device
- PLATFORM=tvos ACTION=build TARGET=runner SDK=sim
- PLATFORM=tvos ACTION=build TARGET=runner SDK=device
# Analyze
- PLATFORM=ios ACTION=analyze TARGET=lib SDK=sim
- PLATFORM=ios ACTION=analyze TARGET=runner SDK=sim
- PLATFORM=tvos ACTION=analyze TARGET=lib SDK=sim
- PLATFORM=tvos ACTION=analyze TARGET=runner SDK=sim
# Unit tests
- PLATFORM=ios ACTION=unit_test DEST=iphone TARGET=lib SDK=sim
- PLATFORM=ios ACTION=unit_test DEST=ipad TARGET=lib SDK=sim
- PLATFORM=tvos ACTION=unit_test DEST=atv TARGET=lib SDK=sim
# Integration tests iPhone
- PLATFORM=ios ACTION=int_test_1 DEST=iphone TARGET=lib SDK=sim
- PLATFORM=ios ACTION=int_test_2 DEST=iphone TARGET=lib SDK=sim
- PLATFORM=ios ACTION=int_test_3 DEST=iphone TARGET=lib SDK=sim
# Integration tests iPad
- PLATFORM=ios ACTION=int_test_1 DEST=ipad TARGET=lib SDK=sim
- PLATFORM=ios ACTION=int_test_2 DEST=ipad TARGET=lib SDK=sim
- PLATFORM=ios ACTION=int_test_3 DEST=ipad TARGET=lib SDK=sim
# Integration tests Apple TV
- PLATFORM=tvos ACTION=int_test_1 DEST=atv TARGET=lib SDK=sim
- PLATFORM=tvos ACTION=int_test_2 DEST=atv TARGET=lib SDK=sim