ci(aio): run docs-tests in travis (#14097)
This commit is contained in:
parent
b7763559cd
commit
b141a227fb
|
@ -34,6 +34,7 @@ env:
|
|||
- CI_MODE=browserstack_required
|
||||
- CI_MODE=saucelabs_optional
|
||||
- CI_MODE=browserstack_optional
|
||||
- CI_MODE=docs_test
|
||||
|
||||
matrix:
|
||||
fast_finish: true
|
||||
|
|
|
@ -13,6 +13,7 @@ cd ../..
|
|||
./scripts/ci-lite/test_e2e.sh
|
||||
./scripts/ci-lite/test_saucelabs.sh
|
||||
./scripts/ci-lite/test_browserstack.sh
|
||||
./scripts/ci-lite/test_docs.sh
|
||||
|
||||
echo 'travis_fold:end:test-browser'
|
||||
|
||||
|
|
|
@ -0,0 +1,19 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
set -ex -o pipefail
|
||||
|
||||
if [[ ${TRAVIS} && ${CI_MODE} != "docs_test" ]]; then
|
||||
exit 0;
|
||||
fi
|
||||
|
||||
|
||||
echo 'travis_fold:start:test_docs'
|
||||
|
||||
# Setup environment
|
||||
cd `dirname $0`
|
||||
source ./env.sh
|
||||
cd ../..
|
||||
|
||||
$(npm bin)/gulp docs-test
|
||||
|
||||
echo 'travis_fold:end:test_docs'
|
Loading…
Reference in New Issue