File tree 2 files changed +34
-1
lines changed
2 files changed +34
-1
lines changed Original file line number Diff line number Diff line change 20
20
set -x
21
21
22
22
cd git/copybara
23
- ./cloudbuild .sh
23
+ ./cibuild .sh
Original file line number Diff line number Diff line change
1
+ #! /bin/bash -e
2
+
3
+ function log() {
4
+ d=$( date +' %Y-%m-%d %H:%M:%S' )
5
+ echo $d " " $1
6
+ }
7
+
8
+ log " Running Copybara tests"
9
+
10
+ log " Fetching dependencies"
11
+
12
+ log " Extracting Bazel"
13
+ # Only because first time it extracts the installation
14
+ bazel version
15
+
16
+ echo " -----------------------------------"
17
+ echo " Versions:"
18
+ hg --version | grep " (version" | sed ' s/.*[(]version \([^ ]*\)[)].*/Mercurial: \1/'
19
+ git --version | sed ' s/git version/Git:/'
20
+ bazel version | grep " Build label" | sed ' s/Build label:/Bazel:/'
21
+ echo " -----------------------------------"
22
+
23
+ log " Setting Locale"
24
+ export LANGUAGE=en_US.UTF-8
25
+ export LANG=en_US.UTF-8
26
+ export LC_ALL=en_US.UTF-8
27
+ locale-gen en_US.UTF-8
28
+ sudo update-locale LANG=en_US.UTF-8
29
+
30
+ log " Running Bazel"
31
+ bazel test ... --test_output=errors --sandbox_tmpfs_path=/tmp -j 1000
32
+
33
+ log " Done"
You can’t perform that action at this time.
0 commit comments