mirror of
https://github.com/Cian-H/invenio-config-iform.git
synced 2025-12-22 21:11:57 +00:00
65 lines
2.1 KiB
YAML
65 lines
2.1 KiB
YAML
# -*- coding: utf-8 -*-
|
|
#
|
|
# Copyright (C) 2020 Mojib Wali.
|
|
#
|
|
# invenio-config-tugraz 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
|
|
allow_failures:
|
|
# To allow failures, you need to specify the full environment
|
|
- env: REQUIREMENTS=devel
|
|
|
|
cache:
|
|
- pip
|
|
|
|
env:
|
|
- REQUIREMENTS=lowest
|
|
- REQUIREMENTS=release DEPLOY=true
|
|
- REQUIREMENTS=devel
|
|
|
|
python:
|
|
- "3.6"
|
|
- "3.7"
|
|
|
|
before_install:
|
|
- "nvm install 6; nvm use 6"
|
|
- "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:
|
|
skip_cleanup: true
|
|
skip_existing: true
|
|
provider: pypi
|
|
username: __token__
|
|
password:
|
|
secure: FV4q3fCEOwqurKkIp84YUf6FnnHGTey9rD/G0go641z7TGiVNw6703kUoJpPuklNNPjZwsfvawxzoNTSRHTMWyli2FeMIsZKTIEUs3QNOIpn8rM2owLFL3M6OH+tD8bdNezK61FLFx1eXjNjAn6W1sm5JMC6T0Visq/knMvBKOIyYOFxnNHgyCWZ52nMb0zRlxpkkPyxWF/6oVUKYhX5WAgmnIQaSyYHee0Ds7Xi3qn3isUnizGDvJwXcErIb+ME7a/GioUP4k/hHO+4WG+8+pgR1IgIyM6IyZ5xujzZGOmjuy5x0uQTJBzzFXvzUTOrxcpNUx9qxcYyyCFC93BCtGM84T2xhpMgAQss3qQjzgKxSe04t+s47XIuLUmxF2F2QhbaKOIAkASNCHMRy2Y1lXZb6xufydlv1q6u5poR7k/uxbDe6JcaotvspKc0qfb/PTbL077QjKfOpHnbdkpJNHUVioholWyJRnsk0H+OWQpQDs2Bh/Fl5B90AxVTYfYKw2reamrjgeVdc3EG7b8raLzGJ6+BTX/NpcfWyDcuG4Yhcn2RRG61+vuD6P16tGsvjWQ34A+T1KfySCpFFoVoSa8W5ZO6tXagiSo7Tl4LPiVm7GtFIcIxDnXqNsbD9VhJfppwCuM6qzfgPA360v9BEAtQPrpM72ogRS5K6yidYv4=
|
|
distributions: sdist bdist_wheel
|
|
on:
|
|
tags: true
|
|
python: "3.6"
|
|
repo: mb-wali/invenio-config-tugraz
|
|
condition: $DEPLOY = true
|