forked from sopel-irc/sopel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
53 lines (53 loc) · 1.42 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
dist: xenial # required for newer (>= 3.7) Python versions
language: python
matrix:
include:
- name: "Python 2.7 on Xenial"
python: 2.7
- name: "Python 3.3 on Trusty"
python: 3.3
dist: trusty # xenial does not support py3.3
- name: "Python 3.4 on Xenial"
python: 3.4
- name: "Python 3.5 on Xenial"
python: 3.5
- name: "Python 3.6 on Xenial"
python: 3.6
- name: "Python 3.7 on Xenial"
python: 3.7
- name: "Python 3.8 on Xenial"
python: 3.8
git:
submodules: false
branches:
only:
- master
- /^\d+\.\d+\.x$/ # allows building maintenance branches
- /^v?\d+\.\d+(\.\d+)?(-\S*)?$/ # allows building version tags
sudo: false # Enables running on faster infrastructure.
cache:
directories:
- $HOME/.cache/pip
install:
- pip install --upgrade "setuptools<=39.2.0" # last version to support Python 3.3
- pip install --upgrade -r requirements.txt -r dev-requirements.txt
- python setup.py develop
script:
- make travis
env:
- COVERALLS_PARALLEL=true
after_success:
coveralls
notifications:
webhooks:
urls:
- https://coveralls.io/webhook
deploy:
provider: pypi
username: dgw
password:
secure: U9XLRA5fYRmII/pyJGDIT0BQ4p0zP8yZJtxUSUO9arFKozgYZu0ldvoLjKnzPMPQNCGs+q4f0hNuXgN+u/FgfRPF/Q3wtUj58uIC4JFnn7u2D2pv7RqzZkGi9Hr8+SS7dChlx9bVbhC1Y0md0XlrsT6rbNKKW457Jei05+vpjvg=
on:
tags: true
python: "3.6"
allow_failure: true