-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
35 lines (30 loc) · 919 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
language: python
python:
- "3.6"
- "3.7"
cache:
directories:
- test/games
services:
- xvfb
before_install:
- sudo apt-get -y install libxkbcommon-x11-0
- sudo apt-get -y install libxcb-icccm4
- sudo apt-get -y install libxcb-image0
- sudo apt-get -y install libxcb-keysyms1
- sudo apt-get -y install libxcb-randr0
- sudo apt-get -y install libxcb-render-util0
- sudo apt-get -y install libxcb-xinerama0
install:
- python3 -m pip install --upgrade pip
- python3 -m pip install --upgrade pip wheel
- python3 -m pip install --upgrade setuptools
- python3 -m pip install -r requirements.txt
- python3 -m pip install --upgrade coveralls
script:
- cd test
- coverage erase
- coverage run --source hichess test_hichess.py -vv CellWidgetTestCase
- coverage run --source hichess test_hichess.py -vv BoardWidgetTestCase
- echo Unit tests done
- coveralls || [[ $? -eq 139 ]]