ray/test/jenkins_tests/run_asv.sh
Richard Liaw 13d4e0db95 Add Docker Support for ASV (#2184)
* added new instructions and script

* initialize ray only once

* use ray-project/asv master
2018-06-05 15:55:35 -07:00

15 lines
355 B
Bash
Executable file

#!/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)