File tree Expand file tree Collapse file tree 3 files changed +17
-16
lines changed
Expand file tree Collapse file tree 3 files changed +17
-16
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 @@ -49,7 +49,7 @@ limitations under the License.
4949 <properties >
5050 <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
5151 <codehaus-versions-maven-plugin-version >2.3</codehaus-versions-maven-plugin-version >
52- <grpc-version >1.2.0 </grpc-version > <!-- 1.1.2 doesn't work - DO NOT UPGRADE -->
52+ <grpc-version >1.0.3 </grpc-version > <!-- 1.1.2 doesn't work - DO NOT UPGRADE -->
5353 <maven-compiler-plugin-version >3.6.0</maven-compiler-plugin-version >
5454 <xolstice-protobuf-maven-plugin-version >0.5.0</xolstice-protobuf-maven-plugin-version >
5555
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
@@ -75,8 +75,11 @@ common_travis_dir="$(travis_changed_files_parent)"
7575[ -z " $common_travis_dir " ] || pushd " $common_travis_dir "
7676
7777# Give Maven a bit more memory
78- export MAVEN_OPTS=' -XX:+PrintFlagsFinal -Xmx800m -Xms400m'
79- " ${TRAVIS_BUILD_DIR-$HOME / $CIRCLE_PROJECT_REPONAME } " /mvnw --batch-mode clean verify -e -DskipTests=$SKIP_TESTS | \
78+ # export MAVEN_OPTS='-XX:+PrintFlagsFinal -Xmx800m -Xms400m'
79+ export MAVEN_OPTS=' -Xmx800m -Xms400m'
80+ " ${TRAVIS_BUILD_DIR-$HOME / $CIRCLE_PROJECT_REPONAME } " /mvnw \
81+ --batch-mode clean verify -e \
82+ -DskipTests=$SKIP_TESTS | \
8083 egrep -v " (^\[INFO\] Download|^\[INFO\].*skipping)"
8184
8285[ -z " $common_travis_dir " ] || popd
You can’t perform that action at this time.
0 commit comments