-
Notifications
You must be signed in to change notification settings - Fork 146
/
.travis.yml
59 lines (59 loc) · 1.81 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
sudo: required
services:
- docker
cache:
- pip
language: python
python:
- '3.9'
env:
global:
- COVERALLS_PARALLEL=true
jobs:
- TEST_SUITE=unit
script: tox
install:
- pip install tox-travis coveralls
after_success:
- coveralls
jobs:
include:
- stage: lint
python: '3.9'
install:
- pip install tox-travis
script: tox -e py27-lint
env:
- TEST_SUITE=lint
- python: '3.9'
install:
- pip install tox-travis
script: tox -e py35-lint
env:
- TEST_SUITE=lint
- stage: deploy
script: skip
python: '3.9'
deploy:
provider: pypi
user: openshift
password:
secure: OtT8BL3rmSlag7H+jLNuPl52UOD8HVuohK0d4OQNMTiejZ1ali/fT4K1yCqteLLTalode1KnG/YpqQuOeEEVJCZNqbAeG3VuD4o3sx0hn1ATMwu5RDngovSSVojhKAOMSh/w3TycRysV+x/L5twntGycNUmtDiRGSJFmXGgq0EPLbE6DUv8IMwlhq/ncNz7/RU5KU852kwc6TDHZloHdhOH5ibibi7VCKUlkK/JnAT/OX0uw/j4v6Dvs6CzJ2lrSozUtjP5OxWPh6XRcXNxlxYuTSy7rjqBd05pk3YUAOQt/cEa4581Qu9hSEvhWFSJBjxpggWunTAbeSjqpdY+iqHcoKg+J3ErscIQnsLOwo8nCIKzyn4GMGx/jQYNfWuXGJiOqHFFCyYR16BajQ/gWk78K5MpUDlf2zoyq3NjTp7edY9lWWL7BEgZdd5EY6wI3V7tlGFeNG/iWw2gL3jR+FfUqzEnBnA+EfPUcowLD6rVCsKoxuLs1YyNiOJLzI1lX3FXvntEkVjPH7w5yju2GXWuw/Szgd0MK2HSedV/tp526V/GOkhD1sbQngEVdrIwPI1QbiMX/1pcSvkCvJrKq5EpShZ9iD/D0T92/01x5X3HSx+R3yV3zhB8L3H7RDL/F3HGNbqVPaj9rHAfTJaxWhy6Y3nWpfwQI43cKFCNwF28=
on:
tags: true
repo: openshift/openshift-restclient-python
condition: "$TRAVIS_TAG =~ ^v[0-9]+\\.[0-9]+\\.[0-9]+(([ab]|dev|rc)[0-9]+)?$"
- stage: test-deploy
python: '3.9'
script: python -c "import openshift ; print(openshift.__version__)"
install:
- pip install openshift
stages:
# - lint
# - test
- name: deploy
if: (tag is present) and (type = push)
- name: test-deploy
if: (tag is present) and (type = push)
notifications:
webhooks: https://coveralls.io/webhook