-
Notifications
You must be signed in to change notification settings - Fork 29
/
.travis.yml
77 lines (65 loc) · 2.67 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
# -*- coding: utf-8 -*-
#
# Copyright 2017 - Swiss Data Science Center (SDSC)
# A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and
# Eidgenössische Technische Hochschule Zürich (ETHZ).
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
notifications:
email: false
sudo: false
language: python
matrix:
fast_finish: true
cache:
- pip
env:
- REQUIREMENTS=lowest
- REQUIREMENTS=release DEPLOY=true
# - REQUIREMENTS=devel
python:
- "2.7"
- "3.5"
- "3.6"
before_install:
- "travis_retry pip install --upgrade pip setuptools py"
- "travis_retry pip install twine wheel coveralls requirements-builder"
- "requirements-builder -e all --level=min setup.py > .travis-lowest-requirements.txt"
- "requirements-builder -e all --level=pypi setup.py > .travis-release-requirements.txt"
- "requirements-builder -e all --level=dev --req requirements-devel.txt setup.py > .travis-devel-requirements.txt"
install:
- "travis_retry pip install -r .travis-${REQUIREMENTS}-requirements.txt"
- "travis_retry pip install -e .[all]"
script:
- "./run-tests.sh"
after_success:
- coveralls
deploy:
- provider: pypi
user: sdsc-org
password:
secure: N+D2HRXjR+NlI8nQqC90LCSyGiSzPNTBXmsa+eyJ8JjXlrndyATDrTM5JGl8hBzBsMFGoVRQ7zYMu11hx9MlRR6hqPQxbnpgfuBhC+yr3Yy2eOzR8S/3YX6qCoLe4pXDCstQmZcpWu+M0vktlOMfCaLmvJdRotQrSwkkSj5XLWQUIn4QvAAT89RU/qf5eG4gK5MyGtev6B79UyABpg5i/okuLIiee2QDoVddWOOaLpGmtAXB8cqRqumB8J1p8F6an6uHpqYhaLHjFxgK/LuV9AWhWH4tjQxxsiYg1wbJR5vMxsxQSGUYsntLkQGaQjkTrLMLzdy5ZHTJavHvWTqPjpaeNVJt9yMWfvZZHdl+B17Q+3Mluhl7zYkV/mk85Xy8bAGT7+Rulz3s0NHlGf20HnbsexkgmcC7fJ8TcHu5/7bL4LkQ1Nm61tt2gkDoimpAFG+8sQQWBJkkx0qXjQUdWigHSzYc6qmeN7lKyalx/Psu1TtnGKSo77G9/HMMfR8u3lUelRBg0/ZFIru1vcbfas+yWntlmEuvVn9KOpyeTJk06r7Mkp9uhshsAy9/I21suF9+09Mb/P8qLpmZ1aELOEQ5PkTdojyb25R4hpVmrFVSiy9YMvAI3AAyH25DKiUOxGyn1PXIIiNH7MXN2lc+yuh8D74Mw1+Gj7b8RfSrJlM=
distributions: "sdist bdist_wheel"
on:
tags: true
python: "3.6"
repo: SwissDataScienceCenter/renga-python
condition: $DEPLOY = true
- provider: script
skip_cleanup: true
script: ./.travis/deploy-docker.sh
on:
branch: master
python: "3.6"
repo: SwissDataScienceCenter/renga-python
condition: $DEPLOY = true