Skip to content

Commit

Permalink
install proper version in chx tests
Browse files Browse the repository at this point in the history
  • Loading branch information
corochann committed Aug 2, 2020
1 parent 16ec91f commit 5a3829f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .flexci/pytest_script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,24 +13,33 @@ if [ ${CHAINERX} -gt 0 ]; then
case ${CHAINER} in
stable)
DOCKER_IMAGE=asia.gcr.io/pfn-public-ci/chainer-chem-py$PYTHON-chainerx-gpu-stable:latest
echo pip install chainer >> install.sh
echo pip install cupy-cuda101 >> install.sh
;;
latest)
DOCKER_IMAGE=asia.gcr.io/pfn-public-ci/chainer-chem-py$PYTHON-chainerx-gpu-latest:latest
echo pip install --pre chainer >> install.sh
echo pip install --pre cupy-cuda101 >> install.sh
;;
base)
DOCKER_IMAGE=asia.gcr.io/pfn-public-ci/chainer-chem-py$PYTHON-chainerx-gpu-base:latest
echo pip install chainer==${BASE} >> install.sh
echo pip install cupy-cuda101==${BASE} >> install.sh
;;
esac
else
case ${CHAINER} in
stable)
DOCKER_IMAGE=asia.gcr.io/pfn-public-ci/chainer-chem-py$PYTHON-chainerx-cpu-stable:latest
echo pip install chainer >> install.sh
;;
latest)
DOCKER_IMAGE=asia.gcr.io/pfn-public-ci/chainer-chem-py$PYTHON-chainerx-cpu-latest:latest
echo pip install --pre chainer >> install.sh
;;
base)
DOCKER_IMAGE=asia.gcr.io/pfn-public-ci/chainer-chem-py$PYTHON-chainerx-cpu-base:latest
echo pip install chainer==${BASE} >> install.sh
;;
esac
fi
Expand Down

0 comments on commit 5a3829f

Please sign in to comment.