Skip to content

Commit ed644e4

Browse files
authored
Merge pull request #1856 from AyanSinhaMahapatra/modify-doc-build-ci
Modify Travis to run doc build on one host only
2 parents f1bea6a + ada3ad4 commit ed644e4

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

.travis.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,16 @@ matrix:
7878
python: "3.6"
7979
dist: bionic
8080

81+
- os: linux
82+
sudo: required
83+
script:
84+
- source bin/activate
85+
- cd docs
86+
- ./scripts/sphinx_build_link_check.sh
87+
- ./scripts/doc8_style_check.sh
88+
language: python
89+
python: "3.6"
90+
dist: bionic
8191

8292
addons:
8393
homebrew:
@@ -102,11 +112,6 @@ script:
102112
# - ./bin/py.test -n 2 -vvs --cov=src tests/scancode
103113
# - echo $TEST_SUITE
104114
- $TEST_SUITE
105-
# Documentation Test Scripts
106-
- source bin/activate
107-
- cd docs
108-
- "./scripts/sphinx_build_link_check.sh"
109-
- "./scripts/doc8_style_check.sh"
110115

111116
# Pay attention to both calls below. They will succeed even if there
112117
# is no coverage information or connection to reporting website fails.

0 commit comments

Comments
 (0)