-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
55 lines (43 loc) · 1.83 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
# -*- coding: utf-8 -*-
#
# Copyright (C) 2019 CESNET.
#
# Invenio OpenID Connect is free software; you can redistribute it and/or modify it
# under the terms of the MIT License; see LICENSE file for more details.
notifications:
email: false
sudo: false
language: python
matrix:
fast_finish: true
cache:
- pip
env:
matrix:
- REQUIREMENTS=release EXTRAS=tests
python:
- "3.8"
before_install:
- "travis_retry pip install --upgrade pip setuptools py"
- "travis_retry pip install twine wheel coveralls requirements-builder pip-tools"
- "requirements-builder -e $EXTRAS --level=pypi setup.py > .travis-release-requirements.in"
- "pip-compile -U --verbose -o .travis-release-requirements.txt .travis-release-requirements.in"
- cat .travis-release-requirements.txt
install:
- "travis_retry pip install -r .travis-${REQUIREMENTS}-requirements.txt"
- "travis_retry pip install -e .[$EXTRAS]"
- "travis_retry pip install -e tests"
script:
- "./run-tests.sh"
after_success:
- coveralls
deploy:
provider: pypi
user: "__token__"
password:
secure: "whIXfDiMuvwCtyrlUg5mP7JTEw9ITLrE/EqyAJkKVQM0NcB6ir2jMdOQ1cjMGba6qIMALi5yJqXo6+/aR+98FArNE+oYUVNf0CpR9Jyoz2EhLAUprPFa21Ei1+CD1PVahtpTi6vNaqo6jxsskl5XzRvyAw8ColLkCos+qKhO2AQ6ZpAS8NDXPsuBvMpChlDIz69LrP5Tr1VhGGDbyziQKf6Zap+0VfbzD8iDrvUktop54SivWT5j9u4UmQjlV5DW8D4ScH7tg2cLgjyTDEvCOQdbThqRjfXJKdrXaGYWHW9VebgGrf4Jba76YR8R0lchA0FpMBbQXBfMokfJbxBK0Ap5CidarRxeP5mEAK8l9rarCGNARbrvo0THGJ6/4ByWISmgSnOBUhdI9lVlsaoFOBM+3HYHMw9rMgaYcy03HlAs4+WpSYj53xIjcSthwt5qRDyW/7crBG33w3SWnoHFVqcsj0wWntQa8PVDvfT6TdDmZstmjRtVYogAgNUTvh90Hy9vok5cNFn9dKSVqWQ/0SwAJ/JFp5xHLu7Z5pp40iSxrbzMqh/rZiRCPzmy8FG0mnM8Vkg8IT29Xuvqc+zk6ckkKSf43vSTixNVCB2Y9d2rhgjIxV+1/qliKEUIA71ICk4wvCXo2X2u0Py+ERofAJCYXk4eV+qzyrnfTPrWG1I="
on:
tags: true
branch: master
distributions: "sdist bdist_wheel"
skip_existing: true