forked from pulp/pulp_deb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
82 lines (81 loc) · 2.08 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
# WARNING: DO NOT EDIT!
#
# This file was generated by plugin_template, and is managed by it. Please use
# './plugin-template --travis pulp_deb' to update this file.
#
# For more info visit https://github.com/pulp/plugin_template
---
sudo: required
# https://docs.travis-ci.com/user/trusty-ci-environment/
dist: bionic
language: python
python:
# Fedora has 3.6 available (python36.x86_64), but pulp container images
# with it are not being built or published yet.
# - "3.6"
- "3.7"
env:
matrix:
- TEST=pulp
- TEST=docs
services:
- postgresql
- redis-server
- docker
addons:
apt:
packages:
- httpie
- jq
# postgres versions provided by el7 RHSCL (lowest supportable version)
postgresql: '9.6'
before_install: .travis/before_install.sh
install: .travis/install.sh
before_script: .travis/before_script.sh
script: .travis/script.sh
after_failure:
- http --timeout 30 --check-status --pretty format --print hb http://pulp/pulp/api/v3/status/
- docker images
- docker ps -a
- docker logs pulp
jobs:
include:
- stage: deploy
name: "Deploy plugin to pypi"
before_install: skip
install: skip
before_script: skip
script: bash .travis/publish_plugin_pypi.sh
if: tag IS present
- stage: deploy
name: "Publish client to rubygems"
script: bash .travis/publish_client_gem.sh
env:
- TEST=bindings
if: type = cron
- stage: deploy
name: "Publish client to pypi"
script: bash .travis/publish_client_pypi.sh
env:
- TEST=bindings
if: type = cron
- stage: deploy
name: "Publish client to rubygems"
script: bash .travis/publish_client_gem.sh
env:
- TEST=bindings
if: tag IS present
- stage: deploy
name: "Publish client to pypi"
script: bash .travis/publish_client_pypi.sh
env:
- TEST=bindings
if: tag IS present
- stage: update-redmine
before_install: skip
install: skip
before_script: skip
script: bash .travis/update_redmine.sh
if: tag IS present
notifications: None
...