forked from inveniosoftware/invenio-jsonschemas
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
61 lines (49 loc) · 2.02 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
# -*- coding: utf-8 -*-
#
# This file is part of Invenio.
# Copyright (C) 2015-2018 CERN.
#
# Invenio 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:
- env: REQUIREMENTS=devel
cache:
- pip
env:
- REQUIREMENTS=lowest
- 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 --level=min setup.py > .travis-lowest-requirements.txt"
- "requirements-builder --level=pypi setup.py > .travis-release-requirements.txt"
- "requirements-builder --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:
provider: pypi
user: inveniosoftware
password:
secure: "zeLY3Ut8gUi0SM7GZnjS2IYrolMbAZYfQa9/MQ2N1B+fIgVjE2GRgeF8B0QEfXJK5i2T2JUBuQor9aR+XQaknZXCbPc2KgGDTpi7eCD8x8K+f62lhGFrBrhbGdeGHI0svawwpO0n8ZXFrQwyl4EMrJox9zHQXDKhdH6QVEAhWT2mLb+AKSKjKLHEEmeGlRNjYNfK8XiVcj/8QciaswYAdiHJClfKZlp7eUYf7GP3/uGMLBZB5zZdnLXYiJiGFcqSTZrDs4UZxpwK3VUnffYqhK37emdFORBuSIqnBy3AONb0fY/aprN7CD4riAZKpNB6SpGICTRBoLSluKh/UNmhEJnG94QsIHlHWfj2hCdx+Uvp04CcOHLAWTxg2LV+Yof55JciJcoz2sUVah/Ow6A8I5z6YOW9Sv43OObafW0Yebqv1/NCcH9IBNHVi+6sx8mUdzuHJBo1yt+qK9shVkDHwGKuXxvW1O3GYOcMzfkhZbdRd7WdPrPxwpRtGMJ3DwzKnf6rP5sGoFXYAA9teBHV6gdb2vS6HbpjlGBoX05EC+G1DWTH69w2ijXlMXGJsM93P5KKsAJKPAMZNAK+rKKnFJs7vhxT3miYMbKr4fZ/u+UmeEX2lVNSOQP4o2ZS+kOwv7ztkESfPrtBNNQKqUAl++fvGwvOu7l4biiEePynumw="
distributions: "sdist bdist_wheel"
on:
tags: true
python: "2.7"
repo: inveniosoftware/invenio-jsonschemas
condition: $DEPLOY = true