File tree Expand file tree Collapse file tree 4 files changed +11
-7
lines changed Expand file tree Collapse file tree 4 files changed +11
-7
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ before_install:
30
30
- |
31
31
if [[ "${TRAVIS_OS_NAME}" == "windows" ]]; then
32
32
choco install jdk8 -params 'installdir=c:\\java8'
33
- choco install bazel --version 0.28.1
33
+ choco install bazel --version 0.28.0
34
34
fi
35
35
- cat .bazelrc.travis >> .bazelrc
36
36
Original file line number Diff line number Diff line change 2
2
3
3
set -e
4
4
5
- # ci stopgap: ensure tools/bazel is run for `bazel` invocations
6
- PATH=" $( cd " $( dirname " $0 " ) " /..; pwd) " /tools:$PATH
5
+ if ! bazel_loc=" $( type -p ' bazel' ) " || [[ -z " $bazel_loc " ]]; then
6
+ export PATH=" $( cd " $( dirname " $0 " ) " ; pwd) " /tools:$PATH
7
+ echo ' Using ./tools/bazel directly for bazel calls'
8
+ fi
7
9
8
10
md5_util () {
9
11
if [[ " $OSTYPE " == " darwin" * ]]; then
Original file line number Diff line number Diff line change 2
2
3
3
set -e
4
4
5
- # ci stopgap: ensure tools/bazel is run for `bazel` invocations
6
- PATH=" $( cd " $( dirname " $0 " ) " /..; pwd) " /tools:$PATH
5
+ if ! bazel_loc=" $( type -p ' bazel' ) " || [[ -z " $bazel_loc " ]]; then
6
+ export PATH=" $( cd " $( dirname " $0 " ) " ; pwd) " /tools:$PATH
7
+ echo ' Using ./tools/bazel directly for bazel calls'
8
+ fi
7
9
8
10
test_disappearing_class () {
9
11
git checkout test_expect_failure/disappearing_class/ClassProvider.scala
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ run_test_ci() {
12
12
local TEST_ARG=$@
13
13
local log_file=output_$$ .log
14
14
echo " running test $TEST_ARG "
15
- $TEST_ARG & > $log_file &
15
+ eval $TEST_ARG & > $log_file &
16
16
local test_pid=$!
17
17
SECONDS=0
18
18
test_pulse_printer $! $TIMOUT $TEST_ARG &
@@ -83,4 +83,4 @@ get_test_runner() {
83
83
exit 1
84
84
fi
85
85
echo " run_test_${test_env} "
86
- }
86
+ }
You can’t perform that action at this time.
0 commit comments