-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
57 lines (57 loc) · 1.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
49
50
51
52
53
54
55
56
57
sudo: required
# https://docs.travis-ci.com/user/trusty-ci-environment/
dist: trusty
language: python
python:
# python versions used in el7 SCL & supported fedora
- "3.5"
- "3.6"
env:
matrix:
- DJANGO_MAX=1.11.100 DB=postgres TEST=pulp
- DJANGO_MAX=2.2.100 DB=postgres TEST=pulp
- TEST=docs
global:
secure: kzbI/DagIGIOFjVEyLyYGEi/xVwiq5M8FCEM3mOtXK9ocYs1Ky1ABkcgLrOLBb+S7SMNjy4XnUWGUxhBGWQLDw2/OimKFoHpCHGt1Cb4rXhWDSVPGgDXQzyW8pJsPKtAbemfx5a4oRP82vmpgB/htJ+8dE5CIAZWU8d9dbvQbro=
matrix:
fast_finish: true
addons:
# postgres versions provided by el7 RHSCL (lowest supportable version)
postgresql: "9.5"
services:
- postgresql
- redis-server
install: source .travis/install.sh
before_script: source .travis/before_script.sh
script: source .travis/script.sh
stages:
- name: test
- name: deploy-pulpcore
if: tag =~ ^pulpcore-3.0.0*
- name: deploy-plugin
if: tag =~ ^pulpcore-plugin*
- name: deploy-common
if: tag =~ ^pulpcore-common*
jobs:
include:
- stage: deploy-pulpcore
script: skip
deploy:
provider: script
script: bash .travis/deploy.sh pulpcore
on:
tags: true
- stage: deploy-plugin
script: skip
deploy:
provider: script
script: bash .travis/deploy.sh plugin
on:
tags: true
- stage: deploy-common
script: skip
deploy:
provider: script
script: bash .travis/deploy.sh common
on:
tags: true