forked from sopel-irc/sopel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
60 lines (60 loc) · 1.78 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
version: ~> 1.0
os: linux # we'll extend to other platforms Eventually™
dist: bionic # most recent base image by default
language: python
jobs:
include:
- name: "Python 2.7 on Bionic"
python: 2.7
- name: "Python 3.3 on Trusty"
python: 3.3
dist: trusty # trusty is the last image to officially support py3.3
- name: "Python 3.4 on Xenial"
python: 3.4
dist: xenial # xenial is the last image to officially support py3.4
- name: "Python 3.5 on Xenial"
python: 3.5
dist: xenial # xenial is the last image to officially support py3.5
- name: "Python 3.6 on Bionic"
python: 3.6
- name: "Python 3.7 on Bionic"
python: 3.7
- name: "Python 3.8 on Bionic"
python: 3.8
- name: "Python 3.9 on Bionic"
python: 3.9
git:
submodules: false
branches:
only:
- master
- /^\d+\.\d+\.x$/ # allows building maintenance branches
- /^v?\d+\.\d+(\.\d+)?(-\S*)?$/ # allows building version tags
- /^travis-.+$/ # allows branch names intended to test Travis changes/problems
cache:
directories:
- $HOME/.cache/pip
install:
# setuptools should be left alone once we drop Python 3.3 support
- pip install --upgrade "setuptools<=39.2.0; python_version < '3.9'"
- 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