|
18 | 18 |
|
19 | 19 | notifications: |
20 | 20 | email: false |
21 | | - |
22 | 21 | git: |
23 | 22 | depth: false |
24 | | - |
25 | 23 | language: python |
26 | | - |
27 | 24 | matrix: |
28 | 25 | fast_finish: true |
29 | | - |
30 | 26 | cache: |
31 | | - - pip |
32 | | - |
| 27 | +- pip |
33 | 28 | env: |
| 29 | + matrix: |
34 | 30 | - REQUIREMENTS=lowest |
35 | 31 | - REQUIREMENTS=release |
36 | | - |
| 32 | + global: |
| 33 | + secure: qLF8toEnN3JECO8sZlpE7Q5zPZhVt0y+kZtB8Vd/9kICdQkWh+/NKD6Mw0W+BW9hf+BkaCK2LEvCbeuSNg5lFr1aGZDvveMf8t3KkI1Aem+L4ewSSEbxekVtPiXsRf+Am6WOxZftntCo415aPxUYD8Ny+kZsb0DoJ4sxodAGmitUeFEo9f8bYGurDMAH7OC7AukYnRA33x8OVImU4G5uUML9z8q1pGUXZIldEucyDb0207zxn7UBwQCfhQm+HHTovOmZO3gvZvT5AJU3IQaiu7ePoBiK+M3Vb4cyHl4FlWE+5NZMpk/c9aoFBpkO5aC9QrCDCfiq7lSULL7Gkte+uWnjBm7jJH74fLe4Ryclfodb8vKHpC7fYCwfOJHXjHRr5KDPSG/1KMCTv7r4sQ6GJCnN01bDuW64IV7VK+QJwoZZOJx4J3dFMeCJdB/tOtevmDE5bAFGoV0Ycr03g9N0aHbdr0me6vWPksqR7RVEfRsX5rXPARUZ+7kWkt2MFqgG/L8orPCzyxZtqrRPtbsltK1ZmJUR69v9Tb9y+EJxB2MGUkUs9DUOr99pAlJvdx29AOzHEK45IySTdYfxjeCMCw6J/1UlZRaYjW4mj5ag0R5cnS0907w864dp7FLV9wJ2Cg4iG8WLrt5GKUMMSpac9Y/Gwaf0vExciwK60cUewMU= |
37 | 34 | dist: xenial |
38 | | - |
39 | 35 | python: |
40 | | - - "3.5" |
41 | | - - "3.6" |
42 | | - - "3.7" |
43 | | - |
| 36 | +- '3.5' |
| 37 | +- '3.6' |
| 38 | +- '3.7' |
44 | 39 | stages: |
45 | | - - name: docs |
46 | | - - name: test |
47 | | - - name: integration |
48 | | - if: branch = master AND (type != pull_request) |
49 | | - - name: test OSX |
50 | | - if: branch = master AND (type != pull_request) |
51 | | - - name: publish 🐍 |
52 | | - if: type = push AND (branch = master OR tag IS present) |
53 | | - - name: brew 🍺 |
54 | | - if: type = push AND tag IS present AND tag =~ /^v\d\.\d\.\d$/ |
55 | | - |
| 40 | +- name: docs |
| 41 | +- name: test |
| 42 | +- name: integration |
| 43 | + if: branch = master AND (type != pull_request) |
| 44 | +- name: test OSX |
| 45 | + if: branch = master AND (type != pull_request) |
| 46 | +- name: "publish \U0001F40D" |
| 47 | + if: type = push AND (branch = master OR tag IS present) |
| 48 | +- name: "brew \U0001F37A" |
| 49 | + if: type = push AND tag IS present AND tag =~ /^v\d\.\d\.\d$/ |
56 | 50 | before_install: |
57 | | - - git fetch --tags |
58 | | - - git config --global --add user.name "Renku @ SDSC" |
59 | | - - git config --global --add user.email "renku@datascience.ch" |
60 | | - - if [[ $TRAVIS_OS_NAME == 'linux' ]]; then |
61 | | - sudo apt-get update; |
62 | | - sudo apt-get -y install shellcheck; |
63 | | - travis_retry python -m pip install --upgrade pip setuptools py; |
64 | | - travis_retry python -m pip install twine wheel coveralls requirements-builder; |
65 | | - requirements-builder -e all --level=min setup.py > .travis-lowest-requirements.txt; |
66 | | - requirements-builder -e all --level=pypi setup.py > .travis-release-requirements.txt; |
67 | | - requirements-builder -e all --level=dev --req requirements-devel.txt setup.py > .travis-devel-requirements.txt; |
68 | | - requirements-builder -e nodocs --level=min setup.py > .travis-lowest-requirements-nodocs.txt; |
69 | | - requirements-builder -e nodocs --level=pypi setup.py > .travis-release-requirements-nodocs.txt; |
70 | | - requirements-builder -e nodocs --level=dev --req requirements-devel.txt setup.py > .travis-devel-requirements-nodocs.txt; |
71 | | - elif [[ $TRAVIS_OS_NAME == 'osx' ]]; then |
72 | | - ulimit -n 1024; |
73 | | - brew update; |
74 | | - brew upgrade -v python; |
75 | | - brew unlink python; |
76 | | - brew link python; |
77 | | - brew install -v git-lfs jq node pipenv shellcheck; |
78 | | - travis_wait brew upgrade node; |
79 | | - fi |
80 | | - |
| 51 | +- git fetch --tags |
| 52 | +- git config --global --add user.name "Renku @ SDSC" |
| 53 | +- git config --global --add user.email "renku@datascience.ch" |
| 54 | +- if [[ $TRAVIS_OS_NAME == 'linux' ]]; then sudo apt-get update; sudo apt-get -y install |
| 55 | + shellcheck; travis_retry python -m pip install --upgrade six pip setuptools py; |
| 56 | + travis_retry python -m pip install twine wheel coveralls requirements-builder; requirements-builder |
| 57 | + -e all --level=min setup.py > .travis-lowest-requirements.txt; requirements-builder |
| 58 | + -e all --level=pypi setup.py > .travis-release-requirements.txt; requirements-builder |
| 59 | + -e all --level=dev --req requirements-devel.txt setup.py > .travis-devel-requirements.txt; |
| 60 | + requirements-builder -e nodocs --level=min setup.py > .travis-lowest-requirements-nodocs.txt; |
| 61 | + requirements-builder -e nodocs --level=pypi setup.py > .travis-release-requirements-nodocs.txt; |
| 62 | + requirements-builder -e nodocs --level=dev --req requirements-devel.txt setup.py |
| 63 | + > .travis-devel-requirements-nodocs.txt; elif [[ $TRAVIS_OS_NAME == 'osx' ]]; then |
| 64 | + ulimit -n 1024; brew update; brew upgrade -v python; brew unlink python; brew link |
| 65 | + python; brew install -v git-lfs jq node pipenv shellcheck; travis_wait brew upgrade |
| 66 | + node; fi |
81 | 67 | install: |
82 | | - - if [[ $TRAVIS_OS_NAME == 'linux' ]]; then |
83 | | - travis_retry python -m pip install -r .travis-${REQUIREMENTS}-requirements-nodocs.txt; |
84 | | - travis_retry python -m pip install -e .[nodocs]; |
85 | | - elif [[ $TRAVIS_OS_NAME == 'osx' ]]; then |
86 | | - travis_retry pipenv install --deploy; |
87 | | - source "$(pipenv --venv)/bin/activate"; |
88 | | - travis_retry pip install -e .[nodocs]; |
89 | | - fi |
90 | | - |
| 68 | +- if [[ $TRAVIS_OS_NAME == 'linux' ]]; then travis_retry python -m pip install -r |
| 69 | + .travis-${REQUIREMENTS}-requirements-nodocs.txt; travis_retry python -m pip install |
| 70 | + -e .[nodocs]; elif [[ $TRAVIS_OS_NAME == 'osx' ]]; then travis_retry pipenv install |
| 71 | + --deploy; source "$(pipenv --venv)/bin/activate"; travis_retry pip install -e .[nodocs]; |
| 72 | + fi |
91 | 73 | script: |
92 | | - - "./run-tests.sh -t -s" |
93 | | - |
| 74 | +- "./run-tests.sh -t -s" |
94 | 75 | after_success: |
95 | | - - coveralls |
96 | | - |
| 76 | +- coveralls |
97 | 77 | jobs: |
98 | 78 | include: |
99 | | - - stage: docs |
100 | | - os: linux |
101 | | - dist: xenial |
102 | | - language: python |
103 | | - env: |
104 | | - - REQUIREMENTS=lowest |
105 | | - - REQUIREMENTS=release |
106 | | - install: |
107 | | - - travis_retry python -m pip install -r .travis-${REQUIREMENTS}-requirements-all.txt; |
108 | | - travis_retry python -m pip install -e .[all]; |
109 | | - script: ./run-tests.sh -d |
110 | | - - stage: integration |
111 | | - os: linux |
112 | | - dist: xenial |
113 | | - language: python |
114 | | - env: |
115 | | - - REQUIREMENTS=release |
116 | | - script: pytest -m integration -v |
117 | | - - stage: integration |
118 | | - python: "3.6" |
119 | | - os: linux |
120 | | - dist: xenial |
121 | | - language: python |
122 | | - env: |
123 | | - - REQUIREMENTS=release |
124 | | - script: pytest -m integration -v |
125 | | - - stage: integration |
126 | | - python: "3.7" |
127 | | - os: linux |
128 | | - dist: xenial |
129 | | - language: python |
130 | | - env: |
131 | | - - REQUIREMENTS=release |
132 | | - script: pytest -m integration -v |
133 | | - - stage: integration |
134 | | - os: linux |
135 | | - dist: xenial |
136 | | - language: python |
137 | | - env: |
138 | | - - REQUIREMENTS=lowest |
139 | | - script: pytest -m integration -v |
140 | | - - stage: integration |
141 | | - python: "3.6" |
142 | | - os: linux |
143 | | - dist: xenial |
144 | | - language: python |
145 | | - env: |
146 | | - - REQUIREMENTS=lowest |
147 | | - script: pytest -m integration -v |
148 | | - - stage: integration |
149 | | - python: "3.7" |
150 | | - os: linux |
151 | | - dist: xenial |
152 | | - language: python |
153 | | - env: |
154 | | - - REQUIREMENTS=lowest |
155 | | - script: pytest -m integration -v |
156 | | - - stage: test OSX |
157 | | - language: generic |
158 | | - sudo: true |
159 | | - os: osx |
160 | | - osx_image: xcode11.2 |
161 | | - - stage: test OSX |
162 | | - language: generic |
163 | | - sudo: true |
164 | | - os: osx |
165 | | - osx_image: xcode10.1 |
166 | | - |
167 | | - - stage: publish 🐍 |
168 | | - python: 3.6 |
169 | | - script: echo "Publishing on PyPI.io ..." |
170 | | - before_deploy: |
171 | | - if [[ -z $TRAVIS_TAG ]]; then |
172 | | - export TRAVIS_TAG=$(renku --version) && |
173 | | - git tag $TRAVIS_TAG; |
174 | | - fi |
175 | | - deploy: |
176 | | - - provider: pypi |
177 | | - user: |
178 | | - secure: "RPxGYNL+N6LQy1/TbXCFy9IDgZ05u/Qj6my/p1hSoBWG304se28njZ0zpTv5AGZF8G3dBeVjYbf4s+ytwUPoxK+1fBWlnnSuw4QUXWf339rzcMU4dDO2QX8/SvMDZFbJdE/1/6arlbXa8dTZobm1V0Q3AUTkl2AwXIg9jCaRcYb6n9lASRIiR1M2BK/+FTJG2qywB9kSyQ3giuobwwhQa4CAwDg5MoqL5KLFm2CxejvS0vpleaWqA/LJxeHTQqqd0CIk6V2NBETZ6V78MqdISai88nRafijT0iQ5LSWsy7R6CCpK7OFjHnvA7hGSYzs/BRpdABAk5a2yFbKKZErXoLvatjflMlj2OhHy/0Hlv6xEt1db1pwnjQQIiS62R/Gpx4DZAO8hGp6pT9g9xiifzlj4km9iOD4GY1g+A5A+ssEneBTvExJja4yAqJzAVu+XVDVqxVj+MOmpIcQkzT983+cVceoeczJ61sDuftQaAgcVqQACRE02fLszEtSJVFaq3vKu8dX2eMdiCk7GLdqNF9kfygagNC8eja6Yvr+Ft8kTwrjTBMC/D3xC584I8OTzmpNE/tfZHppfhiKXoU+FySdIGCPcSTGKUgljiz3sFk1JjjEBkGqBLAMaD8l5FsgQqR4zO/2IiwSst1Wx8owF+tiLlerDAC9b/ZFcqDpUab4=" |
179 | | - password: |
180 | | - secure: "f8f2175dg1FUt4mZCQ87tgwwUrFoxQ5CTcZkRnlCXJqagSMk9VmjR8/XXDE5cW48JPG0qdKQdvBtC81NCq+4MqC20HI9VtOdZWeT6Jej90XOZ742osC3pdIGMF4wrsd7+fs1AZkbzzjgB7FsJ42qW6rMa3vP4mXB4GJEel453Fs3Fw8tnR4PZ2ikOJ9fcmtMensjxh9oNMyAIMkYVGim5bWtpkpI1cddeThDBEKurj1IWEMonQw4lR2yLwZTEP6F/b43Cy4aNy+YkdJzJbM0KMJASLeeu8SxNTE7JCqrYc4irU3AzHzzy/FNVGdiw0F10kbK+yI7cPUqWfeoVjwqBJe8Hr0CXNNCsEYkjXkY9PE2m2x10z2UrTy+O1dNo/8sDoKvZBChuAPPtxp2I7/KujECWjzFvMunHEk3K940ZeSMo90xHKQllmA7umquNcPTXiM2l4nNHtolh5W2HdanvsEFhkY2Y2o9sRIytOa5bM+iS9RCL5GsZwLgGKdjfuqk0GF6KK4AIgi7WKtVM73vM7HQaAVRpyUWZ/h8Vu5IRdkORC20WwHZ/Jg6pUy3pkN1VlcKE5uanaPik/npq/uCGe9YC2bh5IoclmqdJUHrkzFPb+f8wRBvbof0zU1B6UMSdiug5oDk3a0Q8kk2AppfjTs7x8NHi3KYXdUphi9HrWQ=" |
181 | | - distributions: "sdist bdist_wheel" |
182 | | - on: |
183 | | - all_branches: true |
184 | | - # push the dev tag to github |
185 | | - - provider: releases |
186 | | - api_key: ${GITHUB_TOKEN} |
187 | | - on: |
188 | | - all_branches: true |
189 | | - tags: false |
190 | | - |
191 | | - - stage: brew 🍺 |
192 | | - language: generic |
193 | | - sudo: true |
194 | | - os: osx |
195 | | - osx_image: xcode11.2 |
196 | | - before_install: brew -v install jq |
197 | | - install: python -m pip install requests |
198 | | - script: |
199 | | - - echo PY_BREW_VERSION=$(python setup.py --version) |
200 | | - - make -e PY_BREW_VERSION=$(python setup.py --version) brew-commit-formula brew-build-bottle brew-commit-bottle |
201 | | - deploy: |
202 | | - - provider: releases |
203 | | - api_key: ${GITHUB_TOKEN} |
204 | | - file_glob: true |
205 | | - file: "*.bottle.*" |
206 | | - skip_cleanup: true |
207 | | - on: |
208 | | - all_branches: true |
209 | | - - provider: pages |
210 | | - skip-cleanup: true |
211 | | - github-token: ${GITHUB_TOKEN} |
212 | | - repo: swissdatasciencecenter/homebrew-renku |
213 | | - target-branch: master |
214 | | - keep-history: true |
215 | | - local-dir: /usr/local/Homebrew/Library/Taps/swissdatasciencecenter/homebrew-renku/ |
216 | | - on: |
217 | | - all_branches: true |
| 79 | + - stage: docs |
| 80 | + os: linux |
| 81 | + dist: xenial |
| 82 | + language: python |
| 83 | + env: |
| 84 | + - REQUIREMENTS=lowest |
| 85 | + - REQUIREMENTS=release |
| 86 | + install: |
| 87 | + - travis_retry python -m pip install -r .travis-${REQUIREMENTS}-requirements-all.txt; |
| 88 | + travis_retry python -m pip install -e .[all]; |
| 89 | + script: "./run-tests.sh -d" |
| 90 | + - stage: integration |
| 91 | + os: linux |
| 92 | + dist: xenial |
| 93 | + language: python |
| 94 | + env: |
| 95 | + - REQUIREMENTS=release |
| 96 | + script: pytest -m integration -v |
| 97 | + - stage: integration |
| 98 | + python: '3.6' |
| 99 | + os: linux |
| 100 | + dist: xenial |
| 101 | + language: python |
| 102 | + env: |
| 103 | + - REQUIREMENTS=release |
| 104 | + script: pytest -m integration -v |
| 105 | + - stage: integration |
| 106 | + python: '3.7' |
| 107 | + os: linux |
| 108 | + dist: xenial |
| 109 | + language: python |
| 110 | + env: |
| 111 | + - REQUIREMENTS=release |
| 112 | + script: pytest -m integration -v |
| 113 | + - stage: integration |
| 114 | + os: linux |
| 115 | + dist: xenial |
| 116 | + language: python |
| 117 | + env: |
| 118 | + - REQUIREMENTS=lowest |
| 119 | + script: pytest -m integration -v |
| 120 | + - stage: integration |
| 121 | + python: '3.6' |
| 122 | + os: linux |
| 123 | + dist: xenial |
| 124 | + language: python |
| 125 | + env: |
| 126 | + - REQUIREMENTS=lowest |
| 127 | + script: pytest -m integration -v |
| 128 | + - stage: integration |
| 129 | + python: '3.7' |
| 130 | + os: linux |
| 131 | + dist: xenial |
| 132 | + language: python |
| 133 | + env: |
| 134 | + - REQUIREMENTS=lowest |
| 135 | + script: pytest -m integration -v |
| 136 | + - stage: test OSX |
| 137 | + language: generic |
| 138 | + sudo: true |
| 139 | + os: osx |
| 140 | + osx_image: xcode11.2 |
| 141 | + - stage: test OSX |
| 142 | + language: generic |
| 143 | + sudo: true |
| 144 | + os: osx |
| 145 | + osx_image: xcode10.1 |
| 146 | + - stage: "publish \U0001F40D" |
| 147 | + python: 3.6 |
| 148 | + script: echo "Publishing on PyPI.io ..." |
| 149 | + before_deploy: if [[ -z $TRAVIS_TAG ]]; then export TRAVIS_TAG=$(renku --version) |
| 150 | + && git tag $TRAVIS_TAG; fi |
| 151 | + deploy: |
| 152 | + - provider: pypi |
| 153 | + user: |
| 154 | + secure: RPxGYNL+N6LQy1/TbXCFy9IDgZ05u/Qj6my/p1hSoBWG304se28njZ0zpTv5AGZF8G3dBeVjYbf4s+ytwUPoxK+1fBWlnnSuw4QUXWf339rzcMU4dDO2QX8/SvMDZFbJdE/1/6arlbXa8dTZobm1V0Q3AUTkl2AwXIg9jCaRcYb6n9lASRIiR1M2BK/+FTJG2qywB9kSyQ3giuobwwhQa4CAwDg5MoqL5KLFm2CxejvS0vpleaWqA/LJxeHTQqqd0CIk6V2NBETZ6V78MqdISai88nRafijT0iQ5LSWsy7R6CCpK7OFjHnvA7hGSYzs/BRpdABAk5a2yFbKKZErXoLvatjflMlj2OhHy/0Hlv6xEt1db1pwnjQQIiS62R/Gpx4DZAO8hGp6pT9g9xiifzlj4km9iOD4GY1g+A5A+ssEneBTvExJja4yAqJzAVu+XVDVqxVj+MOmpIcQkzT983+cVceoeczJ61sDuftQaAgcVqQACRE02fLszEtSJVFaq3vKu8dX2eMdiCk7GLdqNF9kfygagNC8eja6Yvr+Ft8kTwrjTBMC/D3xC584I8OTzmpNE/tfZHppfhiKXoU+FySdIGCPcSTGKUgljiz3sFk1JjjEBkGqBLAMaD8l5FsgQqR4zO/2IiwSst1Wx8owF+tiLlerDAC9b/ZFcqDpUab4= |
| 155 | + password: |
| 156 | + secure: f8f2175dg1FUt4mZCQ87tgwwUrFoxQ5CTcZkRnlCXJqagSMk9VmjR8/XXDE5cW48JPG0qdKQdvBtC81NCq+4MqC20HI9VtOdZWeT6Jej90XOZ742osC3pdIGMF4wrsd7+fs1AZkbzzjgB7FsJ42qW6rMa3vP4mXB4GJEel453Fs3Fw8tnR4PZ2ikOJ9fcmtMensjxh9oNMyAIMkYVGim5bWtpkpI1cddeThDBEKurj1IWEMonQw4lR2yLwZTEP6F/b43Cy4aNy+YkdJzJbM0KMJASLeeu8SxNTE7JCqrYc4irU3AzHzzy/FNVGdiw0F10kbK+yI7cPUqWfeoVjwqBJe8Hr0CXNNCsEYkjXkY9PE2m2x10z2UrTy+O1dNo/8sDoKvZBChuAPPtxp2I7/KujECWjzFvMunHEk3K940ZeSMo90xHKQllmA7umquNcPTXiM2l4nNHtolh5W2HdanvsEFhkY2Y2o9sRIytOa5bM+iS9RCL5GsZwLgGKdjfuqk0GF6KK4AIgi7WKtVM73vM7HQaAVRpyUWZ/h8Vu5IRdkORC20WwHZ/Jg6pUy3pkN1VlcKE5uanaPik/npq/uCGe9YC2bh5IoclmqdJUHrkzFPb+f8wRBvbof0zU1B6UMSdiug5oDk3a0Q8kk2AppfjTs7x8NHi3KYXdUphi9HrWQ= |
| 157 | + distributions: sdist bdist_wheel |
| 158 | + on: |
| 159 | + all_branches: true |
| 160 | + - provider: releases |
| 161 | + api_key: "${GITHUB_TOKEN}" |
| 162 | + on: |
| 163 | + all_branches: true |
| 164 | + tags: false |
| 165 | + - stage: "brew \U0001F37A" |
| 166 | + language: generic |
| 167 | + sudo: true |
| 168 | + os: osx |
| 169 | + osx_image: xcode11.2 |
| 170 | + before_install: brew -v install jq |
| 171 | + install: python -m pip install requests |
| 172 | + script: |
| 173 | + - echo PY_BREW_VERSION=$(python setup.py --version) |
| 174 | + - make -e PY_BREW_VERSION=$(python setup.py --version) brew-commit-formula brew-build-bottle |
| 175 | + brew-commit-bottle |
| 176 | + deploy: |
| 177 | + - provider: releases |
| 178 | + api_key: "${GITHUB_TOKEN}" |
| 179 | + file_glob: true |
| 180 | + file: "*.bottle.*" |
| 181 | + skip_cleanup: true |
| 182 | + on: |
| 183 | + all_branches: true |
| 184 | + - provider: pages |
| 185 | + skip-cleanup: true |
| 186 | + github-token: "${GITHUB_TOKEN}" |
| 187 | + repo: swissdatasciencecenter/homebrew-renku |
| 188 | + target-branch: master |
| 189 | + keep-history: true |
| 190 | + local-dir: "/usr/local/Homebrew/Library/Taps/swissdatasciencecenter/homebrew-renku/" |
| 191 | + on: |
| 192 | + all_branches: true |
0 commit comments