Commit 9a5fe95e authored by Andreas Klöckner's avatar Andreas Klöckner
Browse files

Merge branch 'bench' into 'master'

Remove PY_EXE and let CI script set PYOPENCL_CTX

Closes #2

See merge request !8
parents 0f42d79a 43757e00
Loading
Loading
Loading
Loading
+5 −4
Original line number Diff line number Diff line
@@ -5,13 +5,16 @@ pip install asv

conda list

PY_EXE=python

if [[ -z "$PROJECT" ]]; then
    echo "PROJECT env var not set"
    exit 1
fi

if [[ -z "$PYOPENCL_TEST" ]]; then
    echo "PYOPENCL_TEST env var not set"
    exit 1
fi

mkdir -p ~/.$PROJECT/asv

if [[ ! -z "$CI" ]]; then
@@ -28,8 +31,6 @@ asv machine --yes
master_commit=`git rev-parse master`
test_commit=`git rev-parse HEAD`

export PYOPENCL_CTX=port

asv run $master_commit...$master_commit~ --skip-existing --verbose
asv run $test_commit...$test_commit~ --skip-existing --verbose