This repository has been archived by the owner on Feb 20, 2024. It is now read-only.
forked from AliSoftware/OHHTTPStubs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
92 lines (85 loc) · 4.67 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
language: objective-c
branches:
only:
- master
before_install:
- gem install xcpretty --no-document --quiet
matrix:
include:
- osx_image: xcode9.1
env: RAKETASK="ios[iOS StaticLib,iPhone 7,latest,build-for-testing test-without-building,OHHTTPSTUBS_SKIP_TIMING_TESTS=1 OHHTTPSTUBS_SKIP_REDIRECT_TESTS=1 SWIFT_VERSION=4.0]"
- osx_image: xcode9.1
env: RAKETASK="ios[iOS Framework,iPhone 7,latest,build-for-testing test-without-building,OHHTTPSTUBS_SKIP_REDIRECT_TESTS=1 SWIFT_VERSION=4.0]"
- osx_image: xcode9.1
env: RAKETASK="osx[Mac Framework,x86_64,build-for-testing test-without-building,OHHTTPSTUBS_SKIP_TIMING_TESTS=1 OHHTTPSTUBS_SKIP_REDIRECT_TESTS=1 SWIFT_VERSION=4.0]"
- osx_image: xcode9.1
env: RAKETASK="tvos[tvOS Framework,latest,build-for-testing test-without-building,OHHTTPSTUBS_SKIP_TIMING_TESTS=1 OHHTTPSTUBS_SKIP_REDIRECT_TESTS=1 SWIFT_VERSION=4.0]"
- osx_image: xcode9.1
env: RAKETASK="build_carthage_frameworks[iOS,3.2]"
- osx_image: xcode9.1
env: RAKETASK="build_carthage_frameworks[tvOS,3.2]"
- osx_image: xcode9.1
env: RAKETASK="build_carthage_frameworks[MacOS,4.0]"
- osx_image: xcode10.1
env: RAKETASK="ios[iOS StaticLib,iPhone 7,latest,build-for-testing test-without-building,OHHTTPSTUBS_SKIP_TIMING_TESTS=1 OHHTTPSTUBS_SKIP_REDIRECT_TESTS=1 SWIFT_VERSION=4.2]"
- osx_image: xcode10.1
env: RAKETASK="ios[iOS Framework,iPhone 7,latest,build-for-testing test-without-building,OHHTTPSTUBS_SKIP_REDIRECT_TESTS=1 SWIFT_VERSION=4.2]"
- osx_image: xcode10.1
env: RAKETASK="tvos[tvOS Framework,latest,build-for-testing test-without-building,OHHTTPSTUBS_SKIP_TIMING_TESTS=1 OHHTTPSTUBS_SKIP_REDIRECT_TESTS=1 SWIFT_VERSION=4.2]"
- osx_image: xcode10.1
env: RAKETASK="osx[Mac Framework,x86_64,build-for-testing test-without-building,OHHTTPSTUBS_SKIP_TIMING_TESTS=1 OHHTTPSTUBS_SKIP_REDIRECT_TESTS=1 SWIFT_VERSION=4.2]"
- osx_image: xcode10.1
env: RAKETASK="spm_test"
- osx_image: xcode10.1
env: RAKETASK="build_carthage_frameworks[iOS,4.1]"
- osx_image: xcode10.1
env: RAKETASK="build_carthage_frameworks[tvOS,4.2]"
- osx_image: xcode10.1
env: RAKETASK="build_carthage_frameworks[MacOS,4.2]"
- osx_image: xcode10.2
env: RAKETASK="ios[iOS StaticLib,iPhone 7,latest,build-for-testing test-without-building,OHHTTPSTUBS_SKIP_TIMING_TESTS=1 OHHTTPSTUBS_SKIP_REDIRECT_TESTS=1]"
- osx_image: xcode10.2
env: RAKETASK="ios[iOS Framework,iPhone 7,latest,build-for-testing test-without-building,OHHTTPSTUBS_SKIP_REDIRECT_TESTS=1]"
- osx_image: xcode10.2
env: RAKETASK="tvos[tvOS Framework,latest,build-for-testing test-without-building,OHHTTPSTUBS_SKIP_TIMING_TESTS=1 OHHTTPSTUBS_SKIP_REDIRECT_TESTS=1]"
- osx_image: xcode10.2
env: RAKETASK="osx[Mac Framework,x86_64,build-for-testing test-without-building,OHHTTPSTUBS_SKIP_TIMING_TESTS=1 OHHTTPSTUBS_SKIP_REDIRECT_TESTS=1]"
- osx_image: xcode10.2
env: RAKETASK="spm_test"
- osx_image: xcode10.2
env: RAKETASK="build_carthage_frameworks[iOS,5.0]"
- osx_image: xcode10.2
env: RAKETASK="build_carthage_frameworks[tvOS,5.0]"
- osx_image: xcode10.2
env: RAKETASK="build_carthage_frameworks[MacOS,5.0]"
- osx_image: xcode11
env: RAKETASK="ios[iOS StaticLib,iPhone 8,latest,build-for-testing test-without-building,OHHTTPSTUBS_SKIP_TIMING_TESTS=1 OHHTTPSTUBS_SKIP_REDIRECT_TESTS=1]"
- osx_image: xcode11
env: RAKETASK="ios[iOS Framework,iPhone 8,latest,build-for-testing test-without-building,OHHTTPSTUBS_SKIP_REDIRECT_TESTS=1]"
- osx_image: xcode11
env: RAKETASK="tvos[tvOS Framework,latest,build-for-testing test-without-building,OHHTTPSTUBS_SKIP_TIMING_TESTS=1 OHHTTPSTUBS_SKIP_REDIRECT_TESTS=1]"
- osx_image: xcode11
env: RAKETASK="osx[Mac Framework,x86_64,build-for-testing test-without-building,OHHTTPSTUBS_SKIP_TIMING_TESTS=1 OHHTTPSTUBS_SKIP_REDIRECT_TESTS=1]"
- osx_image: xcode11
env: RAKETASK="spm_test"
- osx_image: xcode11
env: RAKETASK="build_carthage_frameworks[iOS,5.1]"
- osx_image: xcode11
env: RAKETASK="build_carthage_frameworks[tvOS,5.1]"
- osx_image: xcode11
env: RAKETASK="build_carthage_frameworks[MacOS,5.1]"
- osx_image: xcode11
env: RAKETASK="build_example_apps"
script:
- rake "$RAKETASK"
before_deploy:
- carthage build --no-skip-current
- carthage archive OHHTTPStubs
deploy:
provider: releases
api_key:
secure: LJfogUcxlaXczvPyu+s2SAG7SXyhjQbc/kCiNjEO61ehLg0dK0bmfXHm0yeBQQPoQCF5qiWC+5HYQnCaMNmEhP4WHy6RZtmmrg1iiNbeLsRzk8COm2vv+zRgoFXU5K7j2LkfvTSrLPTYR1d+PM/S/XJzMDxrJjryM+mf12DxlnA=
file: OHHTTPStubs.framework.zip
skip_cleanup: true
on:
tags: true