-
Notifications
You must be signed in to change notification settings - Fork 6
/
.travis.yml
58 lines (47 loc) · 1.93 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
# -*- coding: utf-8 -*-
#
# This file is part of IDUtils
# Copyright (C) 2015, 2016 CERN.
#
# IDUtils is free software; you can redistribute it and/or modify
# it under the terms of the Revised BSD License; see LICENSE file for
# more details.
#
# In applying this license, CERN does not waive the privileges and immunities
# granted to it by virtue of its status as an Intergovernmental Organization
# or submit itself to any jurisdiction.
notifications:
email: false
sudo: false
language: python
python:
- "3.6"
- "3.7"
- "3.8"
matrix:
allow_failures:
- python: 3.8
env:
- REQUIREMENTS=lowest
- REQUIREMENTS=release
before_install:
- "travis_retry pip install --upgrade pip setuptools py"
- "travis_retry pip install twine wheel coveralls requirements-builder"
- "requirements-builder --level=min setup.py > .travis-lowest-requirements.txt"
- "requirements-builder --level=pypi setup.py > .travis-release-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: inveniosoftware
password:
secure: V3ak8HwWUvtKL4BWGCjLAAYMd5jYijGKt7nGLw5woEjrZ/ahr5stnSF1lxuJuUuFZDHbS5rAzPO1uDZLlHig5OvUv7M/LCV+Yni1waHaooB4iqL78B8xtorlomZsMf8ffd50VghU3IO1+nAWOIunQNxjz1kAv8wLYw3IEfMz2WfzEW7CKHZohZeuX2xgmJP3iDECdCOouOCFP2hQxiyP7i+ORgrkYzqOMhiv6Z6tCXwYT4cEtw7sdnHyt67yeNsDr32WxfGZ5O1lIaopvnHHhf+AyPzvfdk2ZCjCdjXtRWG2isddxDREZL6LLMwhzQJ4G54pvnZj7Zp4WtfVYNZMKmDhJhTRBx+wG10qjxcnojLGYGfyajBLt/lNBC6t6e0aowxD6dz7R2rpMEnctjmiaYiLoM2EyCQr00aSvhCljR2ujWN217l2YENJ0hdH48VkrCGcDNedddroEcLJ4HMfI655N4XjgsAevxZQxPLS4upQ59GCt238fwGnXxT2yuH13rVIpBH7xj9apn0cgArFYjb2VMEAO513ftIIXlljfNYwEeMA0loRIXI2pbZ/vZaCJEUIfDd8NOzmT5eXblwJHH3QxgWSP9xJmT3CGhM+0r0zj+mvOrd3Ku57/CE2jo3IrBPbXlToirwYzRQt430Xfyoc91Upr9q4voYjj1OnkQw=
distributions: "sdist bdist_wheel"
skip_existing: true
on:
tags: true