-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
39 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# This is from Bazel's former travis setup, to avoid blowing up the RAM usage. | ||
startup --host_jvm_args=-Xmx2500m | ||
startup --host_jvm_args=-Xms2500m | ||
startup --batch | ||
test --ram_utilization_factor=10 | ||
|
||
# This is so we understand failures better | ||
build --verbose_failures | ||
|
||
# This is so we don't use sandboxed execution. Sandboxed execution | ||
# runs stuff in a container, and since Travis already runs its script | ||
# in a container (unless you require sudo in your .travis.yml) this | ||
# fails to run tests. | ||
build --spawn_strategy=standalone --genrule_strategy=standalone | ||
test --test_strategy=standalone | ||
|
||
# Below this line, .travis.yml will cat the default bazelrc. | ||
# This is needed so Bazel starts with the base workspace in its | ||
# package path. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
language: go | ||
|
||
dist: trusty | ||
|
||
addons: | ||
apt: | ||
sources: | ||
- ubuntu-toolchain-r-test | ||
packages: | ||
- wget | ||
- pkg-config | ||
|
||
before_install: | ||
- wget https://github.com/bazelbuild/bazel/releases/download/1.1.0/bazel_1.1.0-linux-x86_64.deb | ||
- sha256sum -c tools/bazel_1.1.0-linux-x86_64.deb.sha256 | ||
- sudo dpkg -i bazel_1.1.0-linux-x86_64.deb | ||
|
||
script: | ||
- bazel build //cmd:all |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
138b47ffd54924e3c0264c65d31d3927803fb9025db4d5b18107df79ee3bda95 bazel_1.1.0-linux-x86_64.deb |