forked from pimutils/todoman
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
64 lines (53 loc) · 1.07 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
language: python
cache: pip
python:
- 3.6
- 3.4
- 3.5
- 3.7-dev
- pypy3.3-5.2-alpha1
env:
- TOXENV=py
addons:
apt:
packages:
- language-pack-de
stages:
- test
- name: deploy
if: tag IS present
install:
- pip install tox codecov
script:
- tox
after_script:
- codecov
jobs:
include:
- env: TOXENV=flake8
python: 3.6
- env: TOXENV=docs
- env: TOXENV=repl
- env: TOXENV=pyicu
- os: osx
language: generic
env: TOXENV=py
before_install:
- brew update
- brew install python3
- virtualenv env -p python3
- source env/bin/activate
- stage: deploy
script:
- pip install wheel twine
- python setup.py sdist bdist_wheel
- twine upload -u $PYPI_USERNAME -p $PYPI_PASSWORD dist/*
- stage: deploy
script:
- pip install wheel
- python setup.py sdist bdist_wheel
- gem install dpl
- dpl --api-key=$RELEASES_TOKEN --provider=releases --file=dist/* --file_glob=true
matrix:
allow_failures:
- python: 3.7-dev