mirror of
https://github.com/appium/appium.git
synced 2026-02-11 12:29:48 -06:00
Merge pull request #2409 from bootstraponline/master
Run appium_doc_lint on Travis CI
This commit is contained in:
@@ -2,6 +2,8 @@ language: objective-c
|
||||
osx_image: mavericks
|
||||
notifications:
|
||||
email: false
|
||||
rvm:
|
||||
- 2.1.1
|
||||
env:
|
||||
global:
|
||||
- secure: KNDEn/ryhd0yRGzpJSfHRKBzBIC73RKaHWFDkqD4E+iUXepwBfF2bBfningf8f++9qLNscumYZOHjQ0PWf/YALQCr5B2vHsGN+eHWc331d8f5sU/b6oyCAxsayI32lr/mNVCuHd44+ManMcKUH6831Q1qwa15o5w4dDPtJKuv6Y=
|
||||
@@ -10,10 +12,11 @@ env:
|
||||
- CI_CONFIG=unit
|
||||
- CI_CONFIG=build
|
||||
before_script:
|
||||
- gem install --no-rdoc --no-ri appium_doc_lint
|
||||
- ./ci/install-node.sh
|
||||
- ./ci/show-env.sh
|
||||
- npm install -g jshint grunt-cli
|
||||
- npm install
|
||||
- ./ci/before_script_extra.sh
|
||||
script:
|
||||
- ./ci/script.sh
|
||||
- ./ci/script.sh
|
||||
@@ -7,8 +7,11 @@ source ./ci/env
|
||||
./ci/show-env.sh
|
||||
|
||||
if [[ $CI_CONFIG == 'unit' ]]; then
|
||||
cd docs
|
||||
appium_doc_lint || exit 1
|
||||
cd -
|
||||
npm test
|
||||
elif [[ $CI_CONFIG == 'build' ]]; then
|
||||
./reset.sh --hardcore --dev --ios --android --selendroid --gappium --verbose
|
||||
./ci/upload_build_to_sauce.sh
|
||||
fi
|
||||
fi
|
||||
Reference in New Issue
Block a user