forked from cevoaustralia/aws-google-auth
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
48 lines (46 loc) · 2.42 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
language: python
python:
- "2.7"
- "3.5"
- "3.6"
sudo: false
dist: trusty
install:
- pip install .
- pip install keyrings.alt
- pip install coverage
- pip install coveralls
- pip install flake8
script:
- flake8 --ignore E501,E722
- coverage run --source=aws_google_auth/ --omit=aws_google_auth/tests/* setup.py test
after_script:
- coverage report
after_success:
- coveralls
# These are the stages. There's always a default 'Test' stage, where one of each
# is automatically run for every python version in the matrix defined above
# The 'deploy' stage is only invoked once, using python 2.7, because we do not need
# to publish multiple times.
jobs:
include:
- stage: Docker Build Test
script: docker build -f Dockerfile .
python: '3.6'
- stage: Docker Build Test
script: docker build -f Dockerfile.python2 .
python: '2.7'
- stage: deploy
python: '2.7'
install: skip
script: skip
deploy:
provider: pypi
username: nonspecialist
password:
secure: kkbjBg1MwRhyPPabNQcYreTsFexf+1/5W4soO6MWslgPQDsB3h63QfTOV5OvBFAJdBDjPFcrG8raH4JL6oebadVbl/gTYeNCpu7iSbudlSnHTgm4G84o2IOrnFDrEE7iTxkzasPAkmdhBde6ZLIbJFKJ5x5c4LQeHZZSPvYftN043Sv4yta/xeQ84iHsRGVZ/8ugXtmaiZX1rbjqpUqXe/WlR7z3O48KBFSEagZZA93fQdCQEC25SJ5J5P+WgrWyNncK8zaIl5O0k5VzfjSXrwzUl+GTA4SFkqPqj66tqJzgHIl7Ggu5D2kEY2U2+JDYaQz5bcv+WwlkE/De4DicwMoLL7Mjn2MnL2W6uSAtrkX8VoebzbSnmC4/JFC4FiPvPFiBVeO5uupsijoU7UXhYjEvLv/L0tRRo2F3PIzFTRq34KvuT60dfbnagRxp764jiXwRj9gDqbjGXqPIEf2itllOd+aur2YTjVBMQ6Nv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