File tree Expand file tree Collapse file tree 2 files changed +14
-14
lines changed Expand file tree Collapse file tree 2 files changed +14
-14
lines changed Original file line number Diff line number Diff line change 11machine :
22 java :
33 version : oraclejdk8
4- environment :
5- chromedriver_path : /usr/local/bin/chromedriver
64dependencies :
75 pre :
8- - sudo mkdir /opt/webdriver/
96 - curl -LO https://github.com/mozilla/geckodriver/releases/download/v0.15.0/geckodriver-v0.15.0-linux64.tar.gz
10- && sudo tar -zxf geckodriver-*.tar.gz -C /opt/webdriver/
7+ && sudo tar -zxf geckodriver-*.tar.gz -C "${HOME}/bin"
118 - sudo apt-add-repository "deb http://archive.ubuntu.com/ubuntu trusty-backports main restricted universe"
12- - sudo apt-get update
13- - sudo apt-get install -t trusty-backports shellcheck
9+ && sudo apt-get update
10+ && sudo apt-get install -t trusty-backports shellcheck
1411 - sudo apt-get install expect
1512test :
1613 override :
17- - bash ./travis.sh
14+ - bash ./travis.sh &&
15+ bash <(curl -s https://codecov.io/bash) # If successful, run code coverage
Original file line number Diff line number Diff line change 1414# limitations under the License.
1515
1616set -e
17- set -x
18- # Set pipefail so that `egrep` does not eat the exit code.
19- set -o pipefail
20- shopt -s globstar
21-
2217
23- # Setup GCP application default credentials
18+ # Setup GCP application default credentials before `set -x` echos everything out
2419if [[ $GCLOUD_SERVICE_KEY ]]; then
2520 echo " $GCLOUD_SERVICE_KEY " | \
2621 base64 --decode --ignore-garbage > " ${HOME} /google-cloud-service-key.json"
2722 export GOOGLE_APPLICATION_CREDENTIALS=" ${HOME} /google-cloud-service-key.json"
2823fi
2924
25+ set -x
26+ # Set pipefail so that `egrep` does not eat the exit code.
27+ set -o pipefail
28+ shopt -s globstar
29+
3030
3131SKIP_TESTS=false
3232if [ -z " $GOOGLE_APPLICATION_CREDENTIALS " ] ; then
@@ -76,7 +76,9 @@ common_travis_dir="$(travis_changed_files_parent)"
7676
7777# Give Maven a bit more memory
7878export MAVEN_OPTS=' -XX:+PrintFlagsFinal -Xmx800m -Xms400m'
79- " ${TRAVIS_BUILD_DIR-$HOME / $CIRCLE_PROJECT_REPONAME } " /mvnw --batch-mode clean verify -e -DskipTests=$SKIP_TESTS | \
79+ " ${TRAVIS_BUILD_DIR-$HOME / $CIRCLE_PROJECT_REPONAME } " /mvnw \
80+ --batch-mode clean verify -e \
81+ -DskipTests=$SKIP_TESTS \
8082 egrep -v " (^\[INFO\] Download|^\[INFO\].*skipping)"
8183
8284[ -z " $common_travis_dir " ] || popd
You can’t perform that action at this time.
0 commit comments