forked from olenapriadko/HTMLReader
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
85 lines (85 loc) · 2.53 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
language: objective-c
matrix:
include:
# Xcode 8: iOS 10, macOS 10.12, tvOS 10, watchOS 3
- osx_image: xcode8
env:
- TEST_SDK="iphonesimulator10.0"
- TEST_SCHEME="iOS"
- DESTINATION="OS=10.0,name=iPhone 7 Plus"
- TEST_ACTION="test"
- osx_image: xcode8
env:
- TEST_SDK="macosx10.12"
- TEST_SCHEME="OS X"
- DESTINATION="arch=x86_64"
- TEST_ACTION="test"
- osx_image: xcode8
env:
- TEST_SDK="appletvsimulator10.0"
- TEST_SCHEME="tvOS"
- DESTINATION="OS=10.0,name=Apple TV 1080p"
- TEST_ACTION="test"
- osx_image: xcode8
env:
- TEST_SDK="watchsimulator3.0"
- TEST_SCHEME="watchOS"
- DESTINATION="OS=3.0,name=Apple Watch - 42mm"
- TEST_ACTION="build"
# Xcode 7.3: iOS 9, OS X 10.11, tvOS 9, watchOS 2
- osx_image: xcode7.3
env:
- TEST_SDK="iphonesimulator9.3"
- TEST_SCHEME="iOS"
- DESTINATION="OS=9.0,name=iPhone 5"
- TEST_ACTION="test"
- osx_image: xcode7.3
env:
- TEST_SDK="macosx10.11"
- TEST_SCHEME="OS X"
- DESTINATION="arch=x86_64"
- TEST_ACTION="test"
- osx_image: xcode7.3
env:
- TEST_SDK="appletvsimulator9.2"
- TEST_SCHEME="tvOS"
- DESTINATION="OS=9.0,name=Apple TV 1080p"
- TEST_ACTION="test"
- osx_image: xcode7.3
env:
- TEST_SDK="watchsimulator2.2"
- TEST_SCHEME="watchOS"
- DESTINATION="OS=2.0,name=Apple Watch - 42mm"
- TEST_ACTION="build"
# Xcode 6.4: iOS 8, OS X 10.10, OS X 10.9
- osx_image: xcode6.4
env:
- TEST_SDK="iphonesimulator8.4"
- TEST_SCHEME="iOS"
- DESTINATION="OS=8.4,name=iPhone 5s"
- TEST_ACTION="test"
- osx_image: xcode6.4
env:
- TEST_SDK="macosx10.10"
- TEST_SCHEME="OS X"
- DESTINATION="arch=x86_64"
- TEST_ACTION="test"
- osx_image: xcode6.4
env:
- TEST_SDK="macosx10.9"
- TEST_SCHEME="OS X"
- DESTINATION="arch=x86_64"
- TEST_ACTION="test"
# Xcode 6.1: iOS 7
- osx_image: beta-xcode6.1
env:
- TEST_SDK="iphonesimulator7.1"
- TEST_SCHEME="iOS"
- DESTINATION="OS=7.1,name=iPhone 4s"
- TEST_ACTION="test"
script:
- set -o pipefail
- xcodebuild -project HTMLReader.xcodeproj -scheme "HTMLReader $TEST_SCHEME" -sdk "$TEST_SDK" -destination "$DESTINATION" "${TEST_ACTION:-test}" | xcpretty
notifications:
email:
- nolan@nolanw.ca