Add Docker Support for ASV (#2184)

* added new instructions and script

* initialize ray only once

* use ray-project/asv master
This commit is contained in:
Richard Liaw
2018-06-05 15:55:35 -07:00
committed by Philipp Moritz
parent a139a5df8c
commit 13d4e0db95
3 changed files with 22 additions and 2 deletions
+15
View File
@@ -0,0 +1,15 @@
#!/usr/bin/env bash
# Cause the script to exit if a single command fails.
set -e
# Show explicitly which commands are currently running.
set -x
git clone https://github.com/ray-project/asv.git /tmp/asv/ || true
cd /tmp/asv/
pip install -e .
cd /ray/python/
asv machine --yes
asv run --show-stderr --python=same --force-record-commit=$(cat ../git-rev)