forked from bannzai/SpreadsheetView
-
Notifications
You must be signed in to change notification settings - Fork 10
/
.travis.yml
110 lines (110 loc) · 3.6 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
language: objective-c
cache:
directories:
- build
- vendor
jobs:
include:
- stage: build
osx_image: xcode9
install:
- bundle install --path=vendor/bundle --binstubs=vendor/bin
script:
- bundle exec rake build-for-testing:simulator
- &test
stage: 'test (xcode9)'
osx_image: xcode9
script:
- bundle exec rake test-without-building:simulator
DESTINATIONS="['name=iPhone 4s,OS=9.3']"
after_success:
- bash <(curl -s https://codecov.io/bash) -f 'coverage.txt'
- <<: *test
script:
- bundle exec rake test-without-building:simulator
DESTINATIONS="['name=iPhone 5,OS=9.3']"
- <<: *test
script:
- bundle exec rake test-without-building:simulator
DESTINATIONS="['name=iPhone 6s,OS=10.3.1', 'name=iPhone 7 Plus,OS=10.3.1']"
- <<: *test
script:
- bundle exec rake test-without-building:simulator
DESTINATIONS="['name=iPad Air 2,OS=10.3.1']"
- <<: *test
script:
- bundle exec rake test-without-building:simulator
DESTINATIONS="['name=iPad Pro (9.7-inch),OS=10.3.1']"
- <<: *test
script:
- bundle exec rake test-without-building:simulator
DESTINATIONS="['name=iPad Pro (12.9-inch),OS=10.3.1']"
- <<: *test
script:
- bundle exec rake test-without-building:simulator
DESTINATIONS="['name=iPhone 6s Plus,OS=11.0']"
- <<: *test
script:
- bundle exec rake test-without-building:simulator
DESTINATIONS="['name=iPhone 7,OS=11.0']"
- <<: *test
script:
- bundle exec rake test-without-building:simulator
DESTINATIONS="['name=iPad Pro (12.9-inch),OS=11.0']"
- <<: *test
script:
- bundle exec rake test-without-building:simulator
DESTINATIONS="['name=iPad 2,OS=9.3']" TESTCASE='MergedCellTests'
- <<: *test
script:
- bundle exec rake test-without-building:simulator
DESTINATIONS="['name=iPad 2,OS=9.3']" TESTCASE='ScrollTests/testTableViewScrolling'
- <<: *test
script:
- bundle exec rake test-without-building:simulator
DESTINATIONS="['name=iPad 2,OS=9.3']" TESTCASE='ScrollTests/testColumnHeaderViewScrolling'
- <<: *test
script:
- bundle exec rake test-without-building:simulator
DESTINATIONS="['name=iPad 2,OS=9.3']" TESTCASE='ScrollTests/testRowHeaderViewScrolling'
- <<: *test
script:
- bundle exec rake test-without-building:simulator
DESTINATIONS="['name=iPad 2,OS=9.3']" TESTCASE='ScrollTests/testColumnAndRowHeaderViewScrolling'
- <<: *test
script:
- bundle exec rake test-without-building:simulator
DESTINATIONS="['name=iPad 2,OS=9.3']" TESTCASE='ScrollTests/testCircularScrolling'
- <<: *test
script:
- bundle exec rake test-without-building:simulator
DESTINATIONS="['name=iPad 2,OS=9.3']" TESTCASE='SelectionTests'
- stage: 'test (xcode8.3)'
osx_image: xcode8.3
script:
- bundle exec rake test:simulator DESTINATIONS="['name=iPhone 4s,OS=9.3']" SWIFT_VERSION=3.0
after_success:
- bash <(curl -s https://codecov.io/bash) -f 'coverage.txt'
- stage: 'test (xcode8.3)'
osx_image: xcode8.3
script:
- bundle exec rake test:simulator DESTINATIONS="['name=iPhone 7,OS=10.3.1']" SWIFT_VERSION=3.0
after_success:
- bash <(curl -s https://codecov.io/bash) -f 'coverage.txt'
- stage: carthage
osx_image: xcode9
script:
- carthage build --no-skip-current
- stage: carthage
osx_image: xcode8.3
script:
- echo SWIFT_VERSION=\"3.0\" > swift3.xcconfig
- XCODE_XCCONFIG_FILE=`pwd`/swift3.xcconfig carthage build --no-skip-current
env:
global:
- LANG=en_US.UTF-8
- LC_ALL=en_US.UTF-8
branches:
only:
- master
skip_cleanup: true