-
Notifications
You must be signed in to change notification settings - Fork 25
/
.travis.yml
74 lines (62 loc) · 2.69 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
# -*- coding: utf-8 -*-
#
# This file is part of Invenio.
# Copyright (C) 2017 RERO.
#
# Invenio is free software; you can redistribute it
# and/or modify it under the terms of the GNU General Public License as
# published by the Free Software Foundation; either version 2 of the
# License, or (at your option) any later version.
#
# Invenio is distributed in the hope that it will be
# useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Invenio; if not, write to the
# Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston,
# MA 02111-1307, USA.
#
# 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
matrix:
fast_finish: true
cache:
- pip
env:
- REQUIREMENTS=release # DEPLOY=true
- REQUIREMENTS=devel
python:
- "2.7"
- "3.5"
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=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 requirements.txt"
- "travis_retry pip install -r .travis-${REQUIREMENTS}-requirements.txt"
- "travis_retry pip install -e .[tests]"
script:
- "./run-tests.sh"
after_success:
- coveralls
# deploy:
# provider: pypi
# user: inveniosoftware
# password:
# secure: "HtQx/0iqKVcIdVKLx71Llufk5qmZtpYEac9Ic9ACHj7Ns/JMRBn1lP4vshMm2cWyZfzq w0HtDO0I5KhiugBIA2vqIqqWYgV9HurZqLUusufEWL1Te6wrG FtZzB5e77VLL7X 1fYyfiHeRU75SFRiwB1m95ALA8ghs0fjV2YAiZYN7L4NUQ0P7lOqx62azD1iBLmH94mBE6yKP3eRPmeOUTGXb5mXe/K7rRak8vhbfarVn0U0KHgzYFomANg/vhqcqAfmm600CYxEuQrfHFQWe5WNDf6yRVdkrYwIzWOGPZM7cDabZV4LpvuA0lcD26bSIflVJ6nlJtdWY7/l1HM2gtMfDW6d0iCLeBXTziIrz7g7sbPpzYalU/AVKJ7yyiSRN1uLrzOnB6cPYFWEJWGlrPcs/astDjSMKXNivJuKnGtF8eq81NNcZfVb8MhheOpmOhh87wzqU4mDwfLat2aB0vlYrKQN7e72LwOqUL1MbPVoR1 qdh8JwzJdwNNc6OCryg/gDm667vGEaMjybAL8Qv2UA7vWpizGQyYBKuoRcvPIA8CUN3uOaqKCHrX5wdnqSK8IjPlp1bsETJ mnOaye8jYSfZDCsdBnB71wwM7NV24SE4AAgYre8rLt7b1bAiCdZs8TlF7ulwC5RGyJnqgvE2JBeZBkBxxuBFSQX7i0="
# distributions: "compile_catalog sdist bdist_wheel"
# on:
# tags: true
# python: "2.7"
# repo: inveniosoftware/invenio-app-ils
# condition: $DEPLOY = true