forked from pycontribs/jenkinsapi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
42 lines (42 loc) · 903 Bytes
/
.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
dist: trusty
group: edge
language: python
python:
- '2.7'
- '3.4'
- '3.5'
env:
- JENKINS_VERSION=stable
- JENKINS_VERSION=latest
before_install:
- jdk_switcher use oraclejdk8
install:
- pip install tox-travis
- python setup.py -q sdist bdist_wheel
script:
- tox
after_success:
- codecov
branches:
only:
- master
- develop
- /^(\d+)\.(\d+)\.(\d+)$/
jobs:
include:
- stage: release
python: 2.7
script: python setup.py -q sdist bdist_wheel
deploy:
provider: releases
api_key:
secure: Ac6anfwQu0WyVj7q9GqD1OJI3WTM3Lk0xO42oJwh4EphXpRCFGvgE4XjaPxh4qVHlgIw8AQ4Phpm0UYal/XTLVNuJDPHOdOUUxUJdJYQkW3hT2odOSCPU47Xa0/pGHIrgX3gEOTO0hAjziL5c41cGR2wMWFp6/CObIg3+gqtrzk=
file_glob: true
file:
- dist/*
- ChangeLog
- AUTHORS
skip_cleanup: true
on:
repo: pycontribs/jenkinsapi
tags: true