mirror of
https://github.com/Cian-H/invenio-config-iform.git
synced 2025-12-22 21:11:57 +00:00
* saml config * manifest for saml files * required * required * travis added install * travis added install * travis added installs * extras * extras * added * added * onelogin configs * onelogin configs * using ready * typo * email sender * modified config.py added CORS variables in order to be possible to enable the CORS. also rearanged the config.py variables and thier comments. * missing import: in config.py import is needed in order to use flask_babelex func. also this module requires invenio-saml to be installed - added to the install_requires. for now installing it via github. * install_requires changed the branch for invenio-saml * updated setup.py changed to custom branch of invenio-saml, for testing the changes on those branch. * Update config.py In order to register user_profile via login with OAuth client, one must set this value. * typo fixed typo in comment. * removed entityId removed manully input for service provider, now it will assign automaticly the metadata url to service provider entityID. * mapping field a. changed invenio-saml branch, b. changed mapping field names. * added missing NameIDFormat * fix missplaced name and surname was misplaced * changed branch
65 lines
1.6 KiB
YAML
65 lines
1.6 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"
|
|
# - "sudo apt-get install -y libxml2-dev libxmlsec1-dev"
|
|
# - "pip install git+https://github.com/mb-wali/invenio-saml.git@custom#egg=invenio_saml"
|
|
|
|
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: TODO:PYPISECUREHASH
|
|
distributions: "compile_catalog sdist bdist_wheel"
|
|
on:
|
|
tags: true
|
|
python: "3.6"
|
|
repo: https://github.com/mb-wali/invenio-config-tugraz
|
|
condition: $DEPLOY = true
|