-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
48 lines (47 loc) · 1.33 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
sudo: required
# https://docs.travis-ci.com/user/trusty-ci-environment/
dist: xenial
language: python
python:
# python versions used in el7 SCL & supported fedora
- "3.6"
- "3.7"
env:
matrix:
- DJANGO_MAX=2.2.100 DB=postgres TEST=pulp
- DJANGO_MAX=2.2.100 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.6"
services:
- postgresql
- redis-server
install: source .travis/install.sh
before_script: source .travis/before_script.sh
script: source .travis/script.sh
jobs:
include:
- stage: deploy-pulpcore
script: bash .travis/deploy.sh pulpcore
if: tag =~ ^pulpcore-3.0*
- stage: deploy-plugin
script: bash .travis/deploy.sh plugin
if: tag =~ ^pulpcore-plugin*
- stage: publish-beta-docs
script: bash .travis/publish_docs.sh beta
env:
- DJANGO_MAX=2.2.100
- DB=postgres
- TEST=docs
if: tag =~ ^pulpcore-3.0*
- stage: publish-nightly-docs
script: bash .travis/publish_docs.sh nightly
env:
- DJANGO_MAX=2.2.100
- DB=postgres
- TEST=docs
if: type != pull_request