Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix build by disabling mujoco and moving to newer python patch versions #2220

Merged
merged 15 commits into from May 17, 2021
10 changes: 5 additions & 5 deletions .travis.yml
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
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"]