-
Notifications
You must be signed in to change notification settings - Fork 36
/
Copy pathold-travis-integration.yml
37 lines (35 loc) · 1.81 KB
/
old-travis-integration.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
language: objective-c
osx_image: xcode11.4
rvm:
- 2.4.3
cache: bundler
git:
submodules: false # By default travis does a recursive submodule update which we don't want.
# Whitelist `master` branch as the only branch to build pushes for.
branches:
only:
- master
matrix:
include:
- env: SDK=iphonesimulator PLATFORM="iOS Simulator,name=iPhone X,OS=12.2" SCHEME=ContentfulPersistence_iOS
- env: SDK=appletvsimulator PLATFORM="tvOS Simulator,name=Apple TV,OS=12.2" SCHEME=ContentfulPersistence_tvOS
- env: SDK=macosx PLATFORM="macOS" SCHEME=ContentfulPersistence_macOS
- env: SWIFT_BUILD=true
before_install:
git submodule update --init #
script:
- ./Scripts/travis-build-test.sh
after_success:
- bundle exec slather coverage -s --coveralls
- pod lib lint ContentfulPersistenceSwift.podspec
- if [[ $TRAVIS_PULL_REQUEST == false && -n $TRAVIS_TAG && $SWIFT_BUILD == true ]]; then ./Scripts/reference-docs.sh; fi
deploy:
provider: pages
skip_cleanup: true
github_token: $GITHUB_ACCESS_TOKEN
local_dir: docs
on:
condition: $TRAVIS_PULL_REQUEST == false && -n $TRAVIS_TAG && $SWIFT_BUILD == true
env:
global:
secure: Xohxw56tpFlfTXtxR+Krg6vYoNr70YPXXGxuhCkwys4bQDwHooPNcdLcNL8Q2jpOS4ZsNIKhn3zEy6mbdCYGSu8ifd44v2haWS5Bl+zbomnnB5qkZveMwpEt+sG/MuKIO2dVhD3AULNM5CkqRXfCAUTmxFbafe1wIoB8Y6pjt4RSWmVoBidNgv7WeT9x4XPXUUjjJJOekdRUpOjgSleE3QCJetWTZfcG+6u6B1pvEoOMMMsMCkb7jk9RqevqlUQ0Kv0VI5ATvJaSdjgOIIAROL+deKq63zU1n/6IfXhVVSMMeuREnfb924pZCaDX0+tG/ZxveFdYjOwN9OZniveXJEdrJ3ROsCZq58G9rTTJuh4+g/J2SFLV83bi7ZIg6aDJxlBIP6CjyxeLaYT9z2kVZgpU2kihDu+lVBSKIEa8eHo/SO2T92VCYxgo3iHwvCiMiyT59h7uSVK69zCXkoejjpcrw/Ud2OC6WgZEWHjHJYote5e8PN2task2Hgi+NCkhkf27IId5N5QUDbVSbSx7mDPdV/QIErcnfTuJFNLIGAMAP9dbGBhOpfLEexx03ar2/6+f41Rrjg1COfBVipV8C0s9rW48t8vE7rAR5NkrQC7VOeZvsKWdXkH6hwuqvXw03ENIE0ak+Tn83Bo1PQaIykqN7oEGBsvPeudAeyNXsw4=