forked from pulp/pulp_deb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
43 lines (43 loc) · 927 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
43
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:
- DB=postgres
addons:
apt:
packages:
- httpie
- jq
# postgres versions provided by el7 RHSCL (lowest supportable version)
postgresql: "9.6"
services:
- postgresql
- redis-server
install: .travis/install.sh
before_script: .travis/before_script.sh
script: .travis/script.sh
after_failure:
- sh -c "cat ~/django_runserver.log"
- sh -c "cat ~/resource_manager.log"
- sh -c "cat ~/reserved_workers-1.log"
stages:
- name: test
# - name: deploy
# if: tag IS present
# jobs:
# include:
# - stage: deploy
# script: skip
# deploy:
# provider: pypi
# distributions: sdist bdist_wheel
# user: pulp
# password:
# secure: <<<KEY>>>
# on:
# tags: true