-
Notifications
You must be signed in to change notification settings - Fork 46
/
.travis.yml
27 lines (27 loc) · 848 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
before_script:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- sleep 3 # give xvfb some time to start
before_install:
- "/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -ac -screen 0 1280x1024x16"
addons:
apt:
packages:
- libgtk-3-common
- libgtk-3-dev
- python3-gi
- python-gi
sudo: false
language: python
python:
- "3.12" #Ezhil boots on Python 3
install:
- python setup.py install && pip install argparse
- pip install .
- pip install nose-cov
script:
- ./unittest3
- ./test3
# TBD: based on Travis' support; until them summa keda
# - if [[ $TRAVIS_PYTHON_VERSION == 3.3 ]]; then cd editor && python testdriver.py; fi
# - if [[ $TRAVIS_PYTHON_VERSION == 2.7 ]]; then cd editor && python testdriver.py; fi