-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy path.travis.yml
48 lines (42 loc) · 1.61 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
37
38
39
40
41
42
43
44
45
46
47
48
sudo: true
language: python
dist: xenial
python: 3.7
matrix:
include:
- os: linux
env: PYQT_VERSION=5.7.1
- os: linux
env: PYQT_VERSION=5.8.2
- os: linux
env: PYQT_VERSION=5.9.2
- os: linux
env: PYQT_VERSION=5.10.1
- os: linux
env: PYQT_VERSION=5.11.2 GENERATE_GIT_ARCHIVE=true
fast_finish: true
cache:
directories:
- $HOME/.cache/pip
install:
- pip install PyQt5==$PYQT_VERSION sphinx
- pip install -r test-requirements.txt
- sudo apt-get --yes install xvfb herbstluftwm
script:
- flake8
- pytest
- cd docs && READTHEDOCS=1 make html && cd ..
before_deploy:
- python git_archive_all.py webmacs-${TRAVIS_TAG}.tar.gz
deploy:
provider: releases
api_key:
secure: MZSDuOdwUlHn55GfMy4MwkT9ZgDhd5/09gKTH2futOWtF90oIhbIO2a1ZfH8QXPB2AZtISzPFgPgMgFtdCIBkmv7ic5yD0AC+hfb6F8iWsxVaUCBQh6B7g4vUomoAEkr7+pUzjapOuJFSlaIWajSL43WcZb7Ep6gdy8M1bBnj8HsyBug5g5uV0GEFmk55Jwlg1EsXF9Jx23EstEBW1HC/wdywa3vkYZsaCzKSco+L1XU2lVtbrRBuY8SbYyvadeFPkyu315+cFNT+HkdD5yvFjRNFoaSYF4AMskv8LR7cCQ6Z7Hug1huFBNgr+LPVFxfflb+zaEETimLV5BN52pB2udv+RDJu0Xmc2hGcCb3eRrHC/w7DkxXWuldF/g8b2aCmoCUDrca1Dh+ipeXzWKo5yEFgrP4dp8l/q5ClbpH3Qc/o6IUhFvVS7YH8udO7A7bAHcZisDGuSfasQeHSDq28maU0pSH3sB0zcTvcphIzkDUjT7+9peXhn56MWUMKlBRX2JU9eoUCz1dBuxK/XCuRZ0YPHjV3xrDvEIbMBny3kdKHCTkc7rcZZs1QfZgnMmySLbM6uUXpmwxBhH5eIEqdZ5isQn/oCt+G3L99Lp7/sNr+gXJtNuocEzWcryEIeJ2Vi/hL9+Mu/I4TlgyLv6f1RS74Ndp4cPpgCCwGS2yVwY=
file: webmacs-${TRAVIS_TAG}.tar.gz
skip_cleanup: true
on:
tags: true
repo: parkouss/webmacs
branch: master
# limit to only one element in the matrix
condition: $GENERATE_GIT_ARCHIVE = true