Skip to content

Commit

Permalink
try travis / rename missed names
Browse files Browse the repository at this point in the history
  • Loading branch information
sph3rex committed Jul 2, 2019
1 parent cb50fff commit 0527099
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
sudo: required
language: python

services:
docker
- docker

script: bash run-tests-with-docker
4 changes: 2 additions & 2 deletions run-tests-with-docker
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
SCRIPT_DIR=$(dirname "${BASH_SOURCE[0]}")
CWD=$(realpath "${SCRIPT_DIR}")

N="btcoin-trader-rl-cpu"
N="trader-rl-cpu"
docker build --tag $N -f docker/Dockerfile.tests "$CWD"

docker run \
Expand All @@ -13,4 +13,4 @@ docker run \
--tty \
--volume "${CWD}":/code \
"$N" \
python -m pytest -p no:warnings
python -m pytest -p no:warnings /code/test
4 changes: 2 additions & 2 deletions run-with-docker
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@ if [ $CPU_LIMIT == 0 ];then
fi

if [ $GPU == 0 ]; then
N="btcoin-trader-rl-cpu"
N="trader-rl-cpu"
docker build --tag $N -f "$CWD/docker/Dockerfile.cpu" "$CWD"
else
N="btcoin-trader-rl-gpu"
N="trader-rl-gpu"
docker build --tag $N -f "$CWD/docker/Dockerfile.gpu" "$CWD"
fi

Expand Down

0 comments on commit 0527099

Please sign in to comment.