mirror of
https://github.com/Farama-Foundation/Gymnasium.git
synced 2025-08-03 06:40:46 +00:00
52 lines
2.0 KiB
YAML
52 lines
2.0 KiB
YAML
language: python
|
|
python:
|
|
- "2.7"
|
|
- "3.4"
|
|
dist: trusty
|
|
sudo: required
|
|
cache:
|
|
apt: true
|
|
pip: true
|
|
addons:
|
|
apt:
|
|
sources:
|
|
- george-edison55-precise-backports # cmake 3.2.3
|
|
- deadsnakes
|
|
packages:
|
|
- cmake
|
|
- cmake-data
|
|
- python-dev
|
|
- python3.4-dev
|
|
- swig
|
|
- libav-tools
|
|
- python-numpy
|
|
- libboost-all-dev
|
|
- libsdl2-dev
|
|
- libjpeg-dev
|
|
- zlib1g-dev
|
|
- libblas-dev
|
|
- liblapack-dev
|
|
- gfortran
|
|
before_install:
|
|
# Start an X server so rendering works.
|
|
- Xvfb :12 -screen 0 800x600x24 +extension RANDR &
|
|
|
|
# In a pull request, there are no secrets, and hence no MuJoCo:
|
|
# https://docs.travis-ci.com/user/pull-requests#Security-Restrictions-when-testing-Pull-Requests.
|
|
- '[ -z ${MUJOCO_KEY_BUNDLE+x} ] || ( mkdir -p ~/.mujoco && curl https://openai-public.s3-us-west-2.amazonaws.com/mujoco/$MUJOCO_KEY_BUNDLE.tar.gz | tar xz -C ~/.mujoco )'
|
|
|
|
# Without this line, Travis has fork()s fail with an out of memory
|
|
# error. (These fork()s are for spawning the subprocess for video
|
|
# recording.) We should debug the memory usage at some stage, but
|
|
# simply setting overcommit is a good starting point.
|
|
- sudo sysctl -w vm.overcommit_memory=1
|
|
env:
|
|
- DISPLAY=:12
|
|
install: travis_wait pip install -r requirements_dev.txt
|
|
script: nose2
|
|
|
|
notifications:
|
|
slack:
|
|
secure: h/Mxm8K+avH/2W0818zCHmLloRPMFN4NJL01+VShvAkH80/acfjeq/+mMdWXXPL/oOB6kSHDk+GDhwR6+s03ZcPMn5INTFvFYqUc6UWmT+NXtOPxGTN0xda6MdYUkWQUKaMyjFrweZQOMOASFBIzPOq4XeVbM5aB8s4EJhnfAcYZhp/idwKbToVihN4KZgxlvZIFc8iEp1o9uSl5qrsaeYYYXRkb6mauacAwOo4/Chu+cOnoLUOnvhBFE3rV3doDNrbnoalO8XiExtgx5CIAYWrlMni7r2Q+LlzgwdyTH19ZtybPxJTZIIWSBQ2UtcoYdIEDcc36GcUwz1VUGg32mLJJnY2xw80CWR4ixFPpLwwP5Y99WTn8v094B4nmFTWOwNWXp3EkqtTN9XcJoRBqXB5ArucIPqrx57dOCljSKx22gL6WaF2p3stSAxIGFektGyGnisaELrFZG1C63aHoUPicj3gUlijmAoUmYaDRf6P1wnpXqBpKDAWWhAMSatvx1ekmEJgR7OQklQnnfjx9kENDUygNUWS4IQwN2qYieuzHFL3of7/30mTM43+Vt/vWN8GI7j01BXu6FNGGloHxjH1pt3bLP/+uj5BJsT2HWF+Z8XR4VE6cyVuKsQAFgCXwOkoDHALbcwsspONDIt/9ixkesgh1oFt4CzU3UuU5wYs=
|
|
on_success: change
|