forked from inveniosoftware/idutils
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
56 lines (46 loc) · 1.93 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
# -*- coding: utf-8 -*-
#
# This file is part of IDUtils
# Copyright (C) 2015, 2016 CERN.
#
# IDUtils is free software; you can redistribute it and/or modify
# it under the terms of the Revised BSD License; see LICENSE file for
# more details.
#
# 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
python:
- "2.7"
- "3.4"
- "3.5"
- "3.6"
env:
- REQUIREMENTS=lowest
- REQUIREMENTS=release
before_install:
- "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"
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: lnielsen
password:
secure: sX/eAcV9W9vCW4fa7rL+mQ0RP9zbhM3LQzQf/A+VW56gdctBA4Ew4FxHYH0QabdZF6Bzq/TQpAQSeSqzZAu3bTBGycMhWBis5z7tIpsUthmab2UDFGKtrlnF5M0u8ZoRlccQ1RNI0FNWF8puB/siCAIZ8/Krl/cwZwFbULAbem3OHAq0Ci3yLnm0STDvjFVo1QfWI40S/JH6uSrZUfTQZnfiDoO7h4nadf9EhKqqVhC5t4QZ5FYLO+iKtfq9IaNLD9iIscDtNCJ1kWqcW33vs84swDe0P0QqDk5WtAhE/MZvfqroeCzUVvX5rkfvUuzxauc8v9GnoLfmgWvCSZZthJ3A58bMKsYFPqviUkyWj9IzRcWa/saFHnZbabaCDXhO59dF/bmxEdNnZnch7hUjWG/IZ7aYUhj1zkkbVnzLoNn0ByBJdFl0q84/ue92x3VUuiR9jy2q//HZN3INr0jsMNikmqg6JwFRH0SGWzVLFUWoLwYe0pr8eXYRh+gL/ShZZ97t8AWcIRiQoJu8K1wFaq0BK1sOQbl637//cq95s4GSauwBhSwxQcFPNhzsp+6Ac70pIYiakeY2Ri/t8hjEFAVW/Z7DTbJ5GCv8Gr8IyhHat6/H3XS58Fw5kPDJrezglOwrxcO+lJecGB7q5WKDC6zxtvw2Ze20HCH/EbaZVtM=
distributions: "sdist bdist_wheel"
on:
tags: true
python: "2.7"
condition: $REQUIREMENTS = release