blob: bf3c5bc1c08803011b8d6ded94385909a68bb0c8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
# use Ubuntu 14.04LTS trusty
sudo: required
dist: trusty
language: python
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq -y python3-pyqt5 python3-pip python3-flake8
- sudo pip3 install -r requirements.txt
- export PYTHONCMD=/usr/bin/python3
install:
- $PYTHONCMD setup.py install --user
before_script:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- sleep 3 # give xvfb some time to start
# commands to run tests
script:
- flake8 --config=setup.cfg Lib/defconQt
- $PYTHONCMD setup.py test
|