-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
62 lines (48 loc) · 1.96 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
# This file is part of Flask-CeleryExt
# Copyright (C) 2015, 2016 CERN.
#
# Flask-CeleryExt 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.
notifications:
email: false
sudo: false
language: python
cache:
- pip
env:
- REQUIREMENTS=lowest
- REQUIREMENTS=release
- REQUIREMENTS=devel
dist: xenial # required for Python >= 3.7
python:
- "2.7"
- "3.5"
- "3.7"
- "pypy"
matrix:
allow_failures:
- python: pypy
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"
- "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: lnielsen
password:
secure: e1kMOeUffgpYM/KF8tD6PS4sH/HsW3ZSZs2H3VsX2HzqUOGslLxEZMYd8RDDjK6oLKwZSU2aYRhMWzmudPAv75XB9f8mgj/v+aN9collcX9Na62W2GrJ2agZx/C8KRwhAWvN+psyofZ/ewQP8P+UQmeydKvk5+1Bu57Ml9LNIBvLhjRvuXrJ/xAdiUycYBcIn8HKLMjyBhTNuSDup37cV+nhY1UCI+4s4gA6fmdufjN2Tt+0xSc5/i4BHP0W94Uu+yrcCH6WUr8l7zuxWqLKE2rgyYuzprbfNX7AqnPVbs8Ar3fMtTWxg8I9KDEaF+TzG24Kzsp0WerCaQC12Xi7KlWB7H7HW5pXjlF72DaB0+Ecak15HmR3yhWjxpQJLQ9A1X1UkjkFkyLhGeXGn0bawxkftPngjs28ei75JGMik2wtSDC13PJG0M/SBKBteN8v3p6um2agUjDbBcRZVJp9BzpKnfalacQ7hncD15YafJVUYi+lglxl75Do2qFUBYg5fBpN0CU7t8/VVM6+kNQmjx4y5K2C3LRYKnWvYq5qgATRFEZClKLuDbtqd6sbeoJjlXrai+wPGWS3zx9r5JIpWSKVOqPVto1XI2q5g0eu+bZSo0uJFpb2FAr19gRhXC8JGrTBgV93rHUwsXGVv3FIvNN/9zhnCEb4KGIFDBTpTwU=
distributions: "sdist bdist_wheel"
on:
tags: true
python: "2.7"
condition: $REQUIREMENTS = release