forked from twilio/twilio-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
40 lines (39 loc) · 859 Bytes
/
Copy path.travis.yml
File metadata and controls
40 lines (39 loc) · 859 Bytes
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
dist: xenial # required for Python >= 3.7
language: python
python:
- "2.7"
- "3.4"
- "3.5"
- "3.6"
- "3.7"
- "3.8"
services:
- docker
install:
- pip install virtualenv --upgrade
- make install
- make test-install
script:
- make test
deploy:
- provider: script
script: make docker-build && make docker-push
skip_cleanup: true
on:
tags: true
python: "3.6"
- provider: pypi
skip_cleanup: true
user: "__token__"
password: $PYPI_TOKEN
on:
tags: true
python: "3.6"
notifications:
slack:
if: branch = master
on_pull_requests: false
on_success: never
on_failure: change
rooms:
- secure: hH8HAepfg60pch6GZ/GprMDpcyu7IjXS4eD+lIcG6TIhEIdn0YCO5K1GiFlDtWgiFfnk5tY5Wr40CEv66cJLg2DnI/q7l3O3wDof80mrbX18EOZ4cFg9ZgAAfSij4znbzf4/9ZQvLxA826Nx/yk9D33o1UE6nHF2xVMfb4bRptw=