Skip to content

Commit 8a33517

Browse files
authored
Merge pull request #69295 from gaurav-nelson/enable-preview-dec-2023
Enable previews for all branches except `main`
2 parents 5efae5f + 8be24b8 commit 8a33517

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.travis.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,8 @@ git:
77
jobs:
88
include:
99
- name: "Preview, validate, and build"
10-
# before_install:
11-
# - chmod +x autopreview.sh
12-
# - ./autopreview.sh
10+
before_install:
11+
- if [ "$TRAVIS_BRANCH" != "main" ]; then chmod +x autopreview.sh && ./autopreview.sh; fi
1312
install:
1413
- gem install --local _gemfiles/asciidoctor-2.0.20.gem _gemfiles/asciidoctor-diagram-plantuml-1.2023.10.gem _gemfiles/asciidoctor-diagram-ditaamini-1.0.3.gem _gemfiles/rexml-3.2.6.gem _gemfiles/asciidoctor-diagram-2.2.14.gem _gemfiles/rouge-4.1.3.gem
1514
- pip3 install pyyaml aura.tar.gz

0 commit comments

Comments
 (0)