Files
appium/ci/script.sh
2014-03-31 22:19:10 +08:00

15 lines
281 B
Bash
Executable File

#!/bin/bash
set +e
unset SUDO_UID
source ./ci/env
./ci/show-env.sh
if [[ $CI_CONFIG == 'unit' ]]; then
npm test
elif [[ $CI_CONFIG == 'build' ]]; then
./reset.sh --hardcore --dev --ios --android --selendroid --gappium --verbose
./ci/upload_build_to_sauce.sh
fi