forked from sdgtt/jenkins-shared-library
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
52 lines (50 loc) · 2.55 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
os: linux
language: python
python:
- '3.7'
install:
- sudo apt-get -qq update
- sudo apt-get install -y groovy graphviz
- sudo apt-get install -y python3-pip python3-setuptools
- travis_retry pip install -r requirements_doc.txt
jobs:
include:
- stage: Doc
python: 3.7
script:
- export PYTHONPATH=$PYTHONPATH:'/usr/lib/python3.7/site-packages'
- cd doc && make html
- cd ..
- mkdir doc/build/html/api
- groovydoc -sourcepath src:vars -d doc/build/html/api/ 'sdg' '*.groovy'
deploy:
- provider: pages
verbose: true
skip_cleanup: true
keep_history: true
on:
branch: master
github_token: $GITHUB_TOKEN
local_dir: doc/build/html
committer_from_gh: true
- provider: pages
verbose: true
skip_cleanup: true
keep_history: true
on:
tags: true
github_token: $GITHUB_TOKEN
local_dir: doc/build/html
committer_from_gh: true
- stage: Deploy
python: 3.7
if: tag IS present
script: true # Skip default script
deploy:
- provider: pypi
username:
secure: LUU+HfbP/4JDwZ/r2Kh712o2n+RTvO5Ny4+2GoTz3TuBBAbE7aBwM6KIZktKsoG1LeY3K/E28FsxoNrkVa3UlRPsbS+oMq5XKMJzDXsWsJVLvDcC40uAGzdPCiSAj55CJ+n3GSNHYTLNoxOgKARNxn/l2ekpgpnm2dHsl/mijtfwytpRsg9eiA1OtHiYUokUqwjj2SfqIf6AoX8kWb2buMQ+ZerKkj4OPO7wI2hUKLrwcJ3hgXkUIh4Cv5NWUmDn7EWtznpJoOrqqSdAOmJQ8ASGqji6H6p32QaxbhoU84+TSuLvT+yZN4l2MRl4bFWK9bGAA5tjzCyagBxWf3Xd0+wvbdenLsvMCKsuPAOoyj99HuPLMT2yzsh9wSmWNBOp47DJd0yL0zpyE2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