Skip to content

Commit

Permalink
Merge branch 'master' of github.com:openai/gym
Browse files Browse the repository at this point in the history
  • Loading branch information
pzhokhov committed May 17, 2021
2 parents df9ead9 + ee5ee3a commit ad00e34
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
10 changes: 5 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ python:
services:
- docker
env:
- PY_VER=3.6.8
- PY_VER=3.7.3
- PY_VER=3.8.6
- PY_VER=3.9.0
- PY_VER=3.6.13
- PY_VER=3.7.10
- PY_VER=3.8.9
- PY_VER=3.9.4

install: "" # so travis doesn't do pip install requirements.txt
script:
Expand All @@ -21,4 +21,4 @@ deploy:
password: $TWINE_PASSWORD
on:
tags: true
condition: $PY_VER = 3.6.8
condition: $PY_VER = 3.8.9
3 changes: 2 additions & 1 deletion py.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ COPY . /usr/local/gym/
WORKDIR /usr/local/gym/
# install all extras for python 3.6 and 3.7, and skip mujoco add-ons for 3.8 and 3.9
# as mujoco 1.50 does not seem to work with 3.8 and 3.9
RUN bash -c "[[ $PYTHON_VER =~ 3\.[6-7]\.[0-9] ]] && pip install -e .[all] || pip install -e .[nomujoco]"
# RUN bash -c "[[ $PYTHON_VER =~ 3\.[6-7]\.[0-9] ]] && pip install -e .[all] || pip install -e .[nomujoco]"
RUN pip install -e .[nomujoco]

ENTRYPOINT ["/usr/local/gym/bin/docker_entrypoint"]
CMD ["pytest","--forked"]

0 comments on commit ad00e34

Please sign in to comment.