Files
appium/ci/script.sh
2014-04-26 17:49:22 -04:00

17 lines
331 B
Bash
Executable File

#!/bin/bash
set +e
unset SUDO_UID
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