-
Notifications
You must be signed in to change notification settings - Fork 25
/
.travis.yml
73 lines (73 loc) · 2.8 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
66
67
68
69
70
71
72
73
os: linux
language: python
addons:
apt:
packages:
- lua5.2
- liblua5.2-dev
cache: pip
install:
- export PKG_CONFIG_PATH="$(python-config --prefix)/lib/pkgconfig:$PKG_CONFIG_PATH"
- echo "PKG_CONFIG_PATH=$PKG_CONFIG_PATH"
# The above two statements can be removed when/if https://github.com/travis-ci/travis-ci/issues/8217 is fixed
- pip install -U pip tox
matrix:
include:
- stage: build
name: "Functional Tests"
language: shell
dist: xenial
addons:
apt:
# Upgrade Docker to the latest (see https://docs.travis-ci.com/user/docker/)
sources:
- docker-xenial
packages:
- docker-ce
services:
- docker
install:
- docker --version
- docker-compose --version
script:
- ./functional.sh verbose
- stage: build
name: "Unit Tests: Python 2.7 with Attrs 18 to 21"
python: "2.7"
script:
- tox -e py27-attrs18,py27-attrs19,py27-attrs20,py27-attrs21,py27-flake8,py27-coverage
- stage: build
name: "Unit Tests: Python 3.5 with and without PyInotify; Pytest 5.1 and 5.3"
python: "3.5"
script:
- tox -e py35,py35-pyinotify,py35-pytest51,py35-pytest53,coverage
- stage: build
name: "Unit Tests: Python 3.7 with Attrs 18 to 21; PyTest 4.6 and 5.3"
python: "3.7"
script:
- tox -e py37-attrs18,py37-attrs19,py37-attrs20,py37-attrs21,py37-pytest46,py37-flake8,coverage,py37-mypy
dist: xenial
# Lunatic-python-universal seems incompatible with Python 3.8
# - stage: build
# name: "Unit Tests: Python 3.8 with Currint 1.6 and 2.0"
# python: "3.8"
# script:
# - tox -e py38,py38-currint16,coverage,py38-mypy
# dist: xenial
- stage: deploy
python: "3.7"
script: skip
install:
- pip install -U pip setuptools pyopenssl
deploy:
provider: pypi
username: eventbrite
password:
secure: NEMxpJWYikoIHVogbkJq45mcuXgbPBmjmSHrDxOJLbkYtGJpIMZjCe1VXtDIxyZks9rk6DztVJO/5OWb6uBTyDCkwqCGqMGQLoAPw0qNbbs9PibV/0pA5Z5MdZKHueOxydFP6jaZVdMm8or3jzaidbZevo/y4nhrvjjLX/Hyn6BEHJOai3wHQEf4OUAbkS7W/7ga1oBLgNypWmVPKUqXkszON8iVqzdrkhx3pJcWgJUIngb0GYr1WkzwFrKIN1SGb+K2hmYwWxdaRzqDs5YQdmWoywGeB0Lj0ho+yScEH5MdAYyfoUnRnftmWTZW38SskAAoUZsDIoqvPa3uA1vboo8/CJUwdu4j3Ta+BmZQQp3SRVXkZaHaaMLPnkmmIC+jEOvfCVLRQ9u2XE2tB86Yd0FGJM7JXGaNh0mGRZmbZamml5j3RMq2wCRS73STlZyaa9QOBeCBBoaKZk0orbcvZn2rfUMOdn6CmjycqflhscNsTFimClzhGDsjLKr67upsr9BDVAzN6Kh2Pcy9ka0qlu4iVJo5u7wo/LtfEvlV8tE8Qoqub0VnwLBJSFPILF/HONYrJ1Ux7avmJwU6Drn5UaC434VegJoXPrViXh2j+Z6+6HsnrCNoWlEsrhbkTMhSg/niyb/bVUgvvvWdpEk44soYKZp9Et2Qvbubq7ddg2Y=
distributions: "sdist bdist_wheel"
on:
tags: true
stages:
- build
- name: deploy
if: tag =~ ^[0-9]+\.[0-9]+\.[0-9]+