-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
65 lines (52 loc) · 1.17 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
sudo: required
dist: trusty
language: generic
matrix:
include:
- os: linux
language: python
env: TESTENV=py35
python: 3.5
- os: linux
language: python
env: TESTENV=py36
python: 3.6
- os: linux
language: python
env: TESTENV=coverage
python: 3.6
##################################
# distribution tests
- os: linux
language: python
env: TESTENV=sdist
python: 3.6
- os: linux
language: python
env: TESTENV=bdist
python: 3.6
- os: linux
language: python
env: TESTENV=bdist_wheel
python: 3.6
allow_failures:
- env: TESTENV=coverage
before_install:
- sudo apt-get update -qq
install:
- ci/travis_install $TESTENV
cache:
directories:
- $HOME/.cache/pip
script:
- ci/travis_run
before_deploy:
- sudo apt-get update -qq
- sudo apt-get install pyqt5-dev-tools
deploy:
provider: pypi
user: "$PYPI_USER"
password: "$PYPI_PASSWORD"
distributions: "sdist bdist_wheel"
on:
tags: true