forked from openoereb/pyramid_oereb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
94 lines (84 loc) · 4.63 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
sudo: required
language: python
matrix:
include:
- python: "3.6"
env: PYTHON_VERSION=python3
services:
- docker
env:
global:
- TRAVIS_USERNAME=sbrunner
- secure: EuOwzJOL1IUt4j8PYxsjIa9iTiGxHN1IwuhIyKJ2QZy3kO2/VQP7z1CUPAjxiXSCA8kwhK+Xq2mqwRfCPBH/CHHE6gZuHRkqd5wOn4ireifYFoBt6MGBPZvTr5S5ha2POUMXuBqpbzey5bMUNUabrS9VbUGSmCNnFnNu/gnPOi31Fw3PIVdjI1+k2JqbBMbDHlUYCDR2lInisGQaQE3mCrs8kmCa4h1FhamANCIHarrxkNsEH5YzBGbnJUbCQrHEEyVq6oNO1jcMrRf3KJR2hwgg8onr9t9/pDFbYUhuPyrewp3UOmmqWPkfR3Z9So69Tcgkz4+G0XXJizF/dQLJZTRWjdcZnI6aeLj8a32JcUPlrDEqjLajK+8rkgv1pD01I+8FyQnVTYARGlovZ6gn+5UTx3SddByEVARIGiOkLY9RrTWe1AuImMBCYYXKKWL4OIvW02fILMWU1JuGGqa+CAUSpRznfZc1bCKbS6iL1xtsRX9dnHkg4S5NKhXlbYYsXhyuztv8rkh/jXEYaqptHtQU3D1+cyD0bT5Wx5PhZSKQJ48p73+SZXHXGeHGdV/P0mT7YhNxwaQA6cbCH65rOQZ1zQaF6/N2CNgYDiJp5aYzLjol9hncH+WJh2AwdhujFewgxbTO8dOypXrNTlM1EfTBZ6oQriLSWbXbMI6VsUc=
- DOCKER_USERNAME=sbrunner
-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3Gl/XBkgw1lB1k0fDHEn+hIBhikFwxyWjIqtPPlL3B8ZyLXyRD43zizaoe7WBFfJEB9lBzmGKxjQkF/N2t9jIhTbWu4K9vRaMC17gmm8kEVkb4loirEn0fAvFtXDuv7RFkETKOv5P9lP4QFxdzRzmsfZ70OPuJSZXasK2v30QjeW+17KDwK+iqUbfsNPM82zBfnkUuaNS8ciZDrBdsMuboX88iLGxyXCQk6cpBVCH0XQI31D8LktepktUzOJ5yIp9oTCQs59lptN6ScuublXdrnVjNQHaJFQckZ7OMcqEn3bA+8e411FGRtA9aD8t3KM/eyveISw=
install:
- sudo service postgresql stop
- make install
script:
- make git-attributes
- make lint
- make tests-docker-setup-db
- make tests
- '[ $TRAVIS_PYTHON_VERSION != "3.6" ] || make build-docker .'
- make doc
after_success:
- git clean -x
before_deploy:
- pip install sphinxcontrib-versioning 'Sphinx<1.6' Mako sphinx_rtd_theme --editable .[recommend]
- openssl aes-256-cbc -K $encrypted_43de73a10f25_key -iv $encrypted_43de73a10f25_iv -in deploy_rsa.enc -out ~/.ssh/id_rsa -d
- eval "$(ssh-agent -s)"
- chmod 0600 ~/.ssh/id_rsa
- ssh-add ~/.ssh/id_rsa
- git remote set-url --push origin "git@github.com:$TRAVIS_REPO_SLUG"
deploy:
- provider: script
script: sphinx-versioning push doc/source/ gh-pages doc
skip_cleanup: true
on:
branch: master
repo: openoereb/pyramid_oereb
python: '3.6'
- provider: script
script: sphinx-versioning push doc/source/ gh-pages doc
skip_cleanup: true
on:
tags: true
repo: openoereb/pyramid_oereb
python: '3.6'
- provider: pypi
server: https://upload.pypi.org/legacy/
user: jwkaltz
password:
secure: aHXU1l2Tcj7r25w9Lo1jSwS56R66348yENLLjYArkG+wlDAFyPOV2ND+F/8ytN0ikzXJCp9w+5MWY4zOu9q/TQqNOiWc8X8YmaxxxosqiLgk+tzM3C+tdg9/3oB70Jc2Pb27XmGMAEMCynGbuX4t0P4Eiz04BtcwMtiNJf10ewpa+auNWYsB/pbzt/zPko608q7Gs2N0twPIG0euVHiDdYNDT/mZxHKdnbTrTuFnltMDGqCznYxB6y01V/SsXVdbVeY/TKFolqark9FrcWWjXMttdjirtX3v/FcECh22SIxKysm6SVpyOM/EWWFlD/x37M5l9H1rpMDxTDFOaBaxrjCKmEy8RGhrhe4rAL9gS/Or6QO7BfJP1xbUdvu7QB/7lVUJ92d3mbwQ2EmgEyvpRvWsT3wbKRwotXT2WOpkTYg99pQ4IvdY/u3E8UG0D05d1A8DKFK7qtmyfwhltfzZX/Xm7M74US1rLU0ANRkKB5dgWNeEw6RgYsdbu6/7AbmMrzoIWWmVgvRfRjtHhJbu29toXjvc86sNfOm9zI97VYQdK0VsQwJri9SsPTiiRManFhdM9Gk24BVfY1L83MRpw6hMuNVrTqjSz63TS/D2iU6VUhXdxA55Bec9AHjOMlNzahgDVH21+QqRLH1UgQXC0z9JdcHu4wk52RbFtUni5kw=
distributions: sdist bdist_wheel
skip_upload_docs: true
skip_cleanup: true
on:
tags: true
repo: openoereb/pyramid_oereb
python: '3.6'
- provider: script
script: travis/deploy-daily-pypi-build.sh
on:
condition: '"${TRAVIS_EVENT_TYPE}" = cron'
repo: openoereb/pyramid_oereb
python: '3.6'
- provider: script
script: travis/deploy-docker.sh
skip_cleanup: true
on:
branch: master
repo: openoereb/pyramid_oereb
python: '3.6'
- provider: script
script: travis/deploy-docker.sh
skip_cleanup: true
on:
tags: true
repo: openoereb/pyramid_oereb
python: '3.6'
notifications:
email: false