Skip to content

Commit c0e2a83

Browse files
committed
Fix deployment errors
1 parent 29bb995 commit c0e2a83

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

.travis.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,17 @@ matrix:
33
- language: objective-c
44
osx_image: xcode9.2
55
before_deploy:
6+
- brew update
7+
- brew install sourcekitten
8+
# `brew outdated` is necessary to prevent build error when there is no updates for Carthage.
9+
- brew outdated carthage || brew upgrade carthage
10+
# Update jazzy.
11+
- gem update
12+
- gem cleanup
13+
# Generate documentation.
614
- sourcekitten doc --spm-module BitByteData > docs.json
715
- jazzy
16+
# Build Carthage package.
817
- swift package generate-xcodeproj
918
- carthage build --no-skip-current
1019
- carthage archive BitByteData

0 commit comments

Comments
 (0)