forked from dolph/rtox
-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
66 lines (66 loc) · 2.77 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
language: python
cache:
- pip
sudo: required
os:
- linux
install:
- |
sudo pip install -q tox-travis virtualenv | cat
ssh-keygen -q -t rsa -N '' -f ~/.ssh/id_rsa
cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys
echo " StrictHostKeyChecking no" >> ~/.ssh/config
chmod g-rw,o-rw ~/.ssh/*
stages:
- lint
- test
- deploy
jobs:
include:
- stage: lint
script:
- pip install -q tox | cat
- tox -e lint
install: skip
- stage: test
script: make info test dist
python: 2.7
env: TOXENV=py27
- stage: test
script: make info test dist
python: 3.4
env: TOXENV=py34
- stage: test
script: make info test dist
python: 3.5
env: TOXENV=py35
- stage: test
script: make info test dist
python: 3.6
env: TOXENV=py36 PYTHON='3.6' PYENV_VERSION='system'
- stage: deploy
script:
- export PACKAGE_NAME=$(python setup.py --name)
- export PACKAGE_VERSION=$(python setup.py --version)
- make dist
deploy:
- provider: pypi
user: pycontribs
password:
secure: aiWhHgiZsro52okfhdeick1QEdArXk2RV2eh6f/DJ1cJA2sCPpPzxGXRUw7UwJyS2FQgL+qKeC7a+9ckEMQ0cM5WCk/H9w8qxMnj3VVfZBIARHrO6isZmLMKy+zNJvwi1MapoPyIi6mOFTJJkwBQ2vferoz9WDnp3VkcYOaODKbKOCCWhWK5HEo+QtfQtzerUmMESzVfoJOwe9QUGn+R8wBOqf7G1SmuJp0SReYHGAFxM6DY/PsC68wT3vyEm6bB20OzLPV/U1xp9sUGS5+OnNzRjM8SV8HzTCr1uf2Si05IvGjhG8GkemTVZadxg+IZdORus6e7IBPvyfZ9OM2Mf6I6/pGM0uI5MBo6l6CZy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zz8YIySaNRKrb5UVQrY4VMU=
file:
- dist/$PACKAGE_NAME-$PACKAGE_VERSION.tar.gz
- dist/$PACKAGE_NAME-$PACKAGE_VERSION-py2.py3-none-any.whl
- ChangeLog
skip_cleanup: true
on:
tags: true
repo: pycontribs/rtox