-
Notifications
You must be signed in to change notification settings - Fork 18
/
.travis.yml
37 lines (32 loc) · 1.05 KB
/
.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
matrix:
include:
- name: "Python 3.7.1 on Xenial Linux"
python: 3.7 # this works for Linux but is ignored on macOS or Windows
cache: pip
dist: xenial # required for Python >= 3.7
before_install:
- sudo apt-get install python-opengl
services:
- xvfb
- name: "Python 3.7.5 on Windows"
os: windows # Windows 10.0.17134 N/A Build 17134
language: shell # 'language: python' is an error on Travis CI Windows
cache: pip
before_install:
- choco install python --version=3.7.5
- python -m pip install --upgrade pip
env:
- PATH=/c/Python37:/c/Python37/Scripts:$PATH
- EAZYAGENTS_IGNORE_RENDER_TESTS=True
install:
- pip install -r requirements.txt
- pip install pytest-cov
- pip install coveralls
#notifications:
# webhooks: https://coveralls.io/webhook
script:
- pytest -r a -v -m "not tforce" --cov=easyagents/
- pytest -r a -v -m tforce --cov=easyagents/ --cov-append
after_success:
- coveralls