Skip to content

Commit 867df83

Browse files
committed
Don't build docs on test releases
1 parent 27fef9e commit 867df83

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

.travis.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ matrix:
1313
# Generate documentation.
1414
- sourcekitten doc --spm-module BitByteData > docs.json
1515
- jazzy
16-
# Build Carthage package.
16+
# Build Carthage archive.
1717
- swift package generate-xcodeproj
1818
- carthage build --no-skip-current
1919
- carthage archive BitByteData
2020
script:
2121
- swift build
2222
- swift test
23-
- swift build -c release # Check building in release configuration just in case.
23+
- swift build -c release # Check Release build just in case.
2424
deploy:
2525
- provider: releases
2626
skip_cleanup: true
@@ -36,8 +36,8 @@ matrix:
3636
local_dir: docs
3737
on:
3838
tags: true
39-
# Uncomment to not upload documentation if it is a test release.
40-
# condition: $(git describe) != *"test"*
39+
# Don't upload documentation if it is a test release.
40+
condition: $(git describe) != *"test"*
4141
- language: generic
4242
os: linux
4343
sudo: required
@@ -47,6 +47,6 @@ matrix:
4747
script:
4848
- swift build
4949
- swift test
50-
- swift build -c release # Check building in release configuration just in case.
50+
- swift build -c release # Check Release build just in case.
5151
notifications:
5252
email: false

0 commit comments

Comments
 (0)