-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
36 lines (30 loc) · 1004 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
language: python
dist: bionic
python:
- "3.7"
env:
global:
- TRAVIS_VIZDOOM_ENV_TIMEOUT=20
notifications:
email: false
before_install:
- sudo apt-get update
- sudo apt-get install libboost-all-dev libsdl2-dev zlib1g-dev libbz2-dev
- sudo apt-get install libjpeg-dev libfluidsynth-dev libgme-dev libopenal-dev libmpg123-dev
- sudo apt-get install libsndfile1-dev libwildmidi-dev libgtk-3-dev timidity nasm tar chrpath
install:
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
- bash miniconda.sh -b -p $HOME/miniconda
- source "$HOME/miniconda/etc/profile.d/conda.sh"
- hash -r
- conda config --set always_yes yes --set changeps1 no
- conda update -q conda
- conda info -a
- patch environment.yml ./.travis/patchfile.patch
- conda env create -q -f environment.yml
- conda activate sample-factory
- pip install coverage
script:
- coverage run -m unittest
after_success:
- bash <(curl -s https://codecov.io/bash)