-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
38 lines (38 loc) · 1.21 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
language: python
python:
- '3.6'
addons:
apt:
packages:
- graphviz
- python-virtualenv
- gcc
install:
- pip3 install flake8 sphinx sphinxcontrib-swaggerdoc celery sphinxcontrib-swaggerdoc
'django<2' sphinx_rtd_theme pyyaml
- wget "https://fossies.org/linux/dmelt/lib/graph/plantuml.jar" -O plantuml.jar
- sudo mkdir -p /opt/plantuml
- sudo cp plantuml.jar /opt/plantuml
- echo "#! /bin/sh" > plantuml
- echo 'exec java -jar /opt/plantuml/plantuml.jar "$@"' >> plantuml
- sudo install -m 755 -D plantuml /usr/bin/plantuml
jobs:
include:
- stage: build-publish-docs
script: source .travis/build-docs.sh 2-master
if: type = cron
before_install:
- openssl aes-256-cbc -K $encrypted_5fa326b9da76_key -iv $encrypted_5fa326b9da76_iv
-in .travis/pulp-infra.enc -out ~/.ssh/pulp-infra -d
- sudo chmod 600 ~/.ssh/pulp-infra
notifications:
irc:
channels:
- "chat.freenode.net#pulp-build"
template:
- "%{repository_slug}#%{build_number} (%{branch} - %{commit} : %{author} : %{commit_subject})"
- "Change view : %{compare_url}"
- "Build details : %{build_url}"
- "%{message}"
on_success: change
on_failure: always