diff options
author | iphydf <iphydf@users.noreply.github.com> | 2018-08-14 20:34:24 +0000 |
---|---|---|
committer | iphydf <iphydf@users.noreply.github.com> | 2018-08-14 20:34:24 +0000 |
commit | fc34fee59abbd79bd530b57fcbc030bde45df00a (patch) | |
tree | 19f4ddd13bea9824bca5fc75970f1289cb5a8566 /.travis | |
parent | 52dd5575ab40c9d1bc5f1c3921a1168d281f4660 (diff) |
Use `--config` to tell bazel about the environment.
Instead of importing a well-known file. This gives toktok-stack more
freedom in where and how it wants to define its interface, as long as it
provides the configurations requested ("linux" and "clang").
Diffstat (limited to '.travis')
-rwxr-xr-x | .travis/bazel-linux | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/.travis/bazel-linux b/.travis/bazel-linux index 0073a39e..1e19d640 100755 --- a/.travis/bazel-linux +++ b/.travis/bazel-linux | |||
@@ -10,7 +10,8 @@ travis_install() { | |||
10 | chmod +x bazel-0.15.0-installer-linux-x86_64.sh | 10 | chmod +x bazel-0.15.0-installer-linux-x86_64.sh |
11 | ./bazel-0.15.0-installer-linux-x86_64.sh --user | 11 | ./bazel-0.15.0-installer-linux-x86_64.sh --user |
12 | echo 'build --jobs=4 --curses=no --verbose_failures' >> $HOME/.bazelrc | 12 | echo 'build --jobs=4 --curses=no --verbose_failures' >> $HOME/.bazelrc |
13 | echo "import %workspace%/tools/bazelrc/linux-$CC" >> $HOME/.bazelrc | 13 | echo 'build --config=linux' >> $HOME/.bazelrc |
14 | echo "build --config=$CC" >> $HOME/.bazelrc | ||
14 | } | 15 | } |
15 | 16 | ||
16 | travis_script() { | 17 | travis_script() { |