-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
39 lines (37 loc) · 943 Bytes
/
.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
os: osx
osx_image: xcode11.5
language: swift
cache:
bundler: true
directories:
- build
bundler_args: --without documentation --without development --deployment --jobs=3 --retry=3
matrix:
include:
- name: "Swift test"
script:
- swift test
- name: "Pod lint"
script:
- bundle exec pod lib lint
- name: "Build carthage"
script:
- scripts/carthage-build.sh
- name: "MacOS codecov"
script:
- swift package generate-xcodeproj
- xcodebuild -scheme Tasker-Package -enableCodeCoverage YES test | xcpretty
after_success:
- bash <(curl -s https://codecov.io/bash)
- name: "Docs"
script:
- swift package generate-xcodeproj
- bundle exec jazzy
deploy:
local_dir: docs
provider: pages
skip_cleanup: true
github_token: $GITHUB_TOKEN
on:
branch: main
tags: true