mirror of
https://github.com/appium/appium.git
synced 2026-02-11 20:39:04 -06:00
24 lines
677 B
Bash
Executable File
24 lines
677 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
if [[ $CI_CONFIG == 'ios' ]]; then
|
|
./ci/installers/install-ant.sh
|
|
./ci/installers/install-maven.sh
|
|
sudo grunt authorize
|
|
elif [[ $CI_CONFIG == 'android' ]]; then
|
|
./ci/installers/install-ant.sh
|
|
./ci/installers/install-maven.sh
|
|
./ci/installers/install-android.sh
|
|
sudo grunt authorize
|
|
elif [[ $CI_CONFIG == 'others' ]]; then
|
|
if [[ $TRAVIS_PULL_REQUEST != false ]]; then
|
|
# Skipping this config for pull requests, it takes too long.
|
|
exit 0
|
|
fi
|
|
./ci/installers/install-ant.sh
|
|
./ci/installers/install-maven.sh
|
|
./ci/installers/install-android.sh
|
|
npm install -g cordova
|
|
sudo grunt authorize
|
|
fi
|