aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Kristina Chodorow <kchodorow@google.com>2015-04-10 17:27:48 +0000
committerGravatar Lukacs Berki <lberki@google.com>2015-04-13 11:45:43 +0000
commitef455a6171fad427afcdc11787e2e115f99ac5b0 (patch)
tree06bd1f3ae29ecac8731fb349d906c38c8654273a
parent8ae34f1ddffa5550d3f03366f918532cbb1bc9b9 (diff)
Cosmetic CI improvements
Adds the travis status to repo's README and adds links to the README that's included with the nightly. -- MOS_MIGRATED_REVID=90818561
-rwxr-xr-x.travis/prepare-for-deploy.sh10
-rw-r--r--README.md2
2 files changed, 7 insertions, 5 deletions
diff --git a/.travis/prepare-for-deploy.sh b/.travis/prepare-for-deploy.sh
index 848741c8f3..b1a92491ee 100755
--- a/.travis/prepare-for-deploy.sh
+++ b/.travis/prepare-for-deploy.sh
@@ -32,11 +32,11 @@ function create_zip() {
cp output/bazel $bazel_dir
sha256sum $bazel_dir/bazel > $bazel_dir/sha256.txt
cat > $bazel_dir/README.md <<EOF
-Build ID: $TRAVIS_BUILD_ID
-Build Number: $TRAVIS_BUILD_NUMBER
-Job ID: $TRAVIS_JOB_ID
-Job Number: $TRAVIS_JOB_NUMBER
-From repo $TRAVIS_REPO_SLUG at commit $git_hash.
+Bazel binary built by Travis CI
+-------------------------------
+
+* [Build log](https://travis-ci.org/google/bazel/builds/$TRAVIS_BUILD_ID
+* [Commit](https://github.com/$TRAVIS_REPO_SLUG/commit/$git_hash)
EOF
bazel_zip=bazel-${git_hash}.zip
echo "Creating $bazel_zip"
diff --git a/README.md b/README.md
index fcb3fb1e10..14552e2286 100644
--- a/README.md
+++ b/README.md
@@ -39,3 +39,5 @@ Find more background about Bazel in our [FAQ](docs/FAQ.md)
* Our [governance plan](http://bazel.io/governance.html)
* Future plans are in the [roadmap](http://bazel.io/roadmap.html)
* For each feature, which level of [support](http://bazel.io/support.html) to expect.
+
+[![Build Status](https://travis-ci.org/google/bazel.svg?branch=master)](https://travis-ci.org/google/bazel)