forked from mstuttgart/pynocchio
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.travis.yml
More file actions
49 lines (40 loc) · 928 Bytes
/
.travis.yml
File metadata and controls
49 lines (40 loc) · 928 Bytes
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
37
38
39
40
41
42
43
44
45
46
47
48
49
language: python
sudo: required
dist: trusty
# Handle git submodules yourself
git:
submodules: false
before_install:
- sudo apt-get update
- sudo apt-get install -y build-essential python3-dev xvfb python3-pyqt5.qtmultimedia
before_script:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- sleep 3
matrix:
include:
- python: 3.5
env: TOX_ENV=py35
- python: 3.6
env: TOX_ENV=py36
- python: 3.5
env: TOX_ENV=flake8
- python: 3.5
env: TOX_ENV=coverage
install:
- pip install tox
- sudo apt-get install upx git qt5-qmake qttools5-dev-tools libqt5sql5-sqlite unrar-free
script:
- tox -e ${TOX_ENV}
deploy:
provider: releases
api_key: $GITHUB_OAUTH_TOKEN
file: "pynocchio_3.1.1_amd64.deb"
skip_cleanup: true
on:
tags: true
repo: pynocchio/pynocchio
branch: master
after_success:
- coveralls
- sudo dpkg -i pynocchio*.deb