forked from etianen/django-s3-storage
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
60 lines (60 loc) · 2.04 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
dist: xenial
sudo: false
language: python
python:
- 3.9
- 3.8
- 3.7
- 3.6
cache: pip
env:
global:
- PYTHONWARNINGS=default,ignore::PendingDeprecationWarning,ignore::ResourceWarning
# AWS_REGION
- secure: "X1EQYf7UP8ynhObVgeA42ZYUIjcUNI6Lgj0MfE0XsOmBc9BkNlf1wVe3MlCCTVh/l4OI80r0YkxGrvMIGnCDbI9SD7PbAnYSKlMpnKTUjniM6ZkGME4t/wxreMakbwMVbJXnqkR3dDUWxJ+RBeksrwKwqvESOlGsc4ew9K6h1Lw="
# AWS_ACCESS_KEY_ID
- secure: "fYo2oYtTp7LhynDNV7oDkfLu9qowpghYjZZlCs+YyxE7+QQtYjTGTK1yd4L9uQVf0bEVD0KQI4TU6Gv8bQir0DJge+DTxuYp1a2zkDegog8JpQT3QIA7h2IPsC3JgHESY482MDuIkiA7E5NLHtEZBcqcVCWk6a117UIh0kJID8I="
# AWS_SECRET_ACCESS_KEY
- secure: "N0FrVtz+PdOH4wFKUTNxcAD1pmTyz2et9mroGV/uRPrIo/zXRBrj3zHdjneZGw+5m+5O246qgprAXtsj61YusGXGYmdr9B5bHyAzVD2T+5slyN37dZVfHPMx55PCMBUdG1aMbNTAE8G7AmwyKt5ujIZliDOERxjqzFsHrNCf8Ks="
# AWS_S3_BUCKET_NAME
- secure: "J9RE3MbU26kmTg5y8WwMD0RnW99SxjJvNY4uFfdbDuPlAn6BV9BQuq1qaPYGksdYdJ8WmXhlRKIhjXjZIgvIEzDQ0msPbJ3dU7uCJFrZRVG3I/jbZR0EfcOiWCaDuQU2TDZw5bo4qanTr4nnZpnBVqj0erjytxUkyqIuRAR3xOg="
matrix:
- DJANGO='>=3.1,<3.2'
- DJANGO='>=3.0,<3.1'
- DJANGO='>=2.2,<3.0'
- DJANGO='>=2.1,<2.2'
- DJANGO='>=2.0,<2.1'
- DJANGO='>=1.11,<1.12'
matrix:
fast_finish: true
exclude:
- python: 3.9
env: DJANGO='>=2.1,<2.2'
- python: 3.9
env: DJANGO='>=2.0,<2.1'
- python: 3.9
env: DJANGO='>=1.11,<1.12'
- python: 3.8
env: DJANGO='>=1.11,<1.12'
- python: 3.7
env: DJANGO='>=1.11,<1.12'
install:
- pip install flake8 coverage django$DJANGO requests pytz -e .
script:
- flake8
- coverage run tests/manage.py test tests
after_success:
- coverage report
deploy:
provider: pypi
user: etianen
password:
secure: T6owRJudXfLP2cntqbsyAMHnOq6rbIAgXfEt1a9smDjyxyXpCH+XAxUWw+5mMZ3mFALyquZGzodtq+cil2j7XkB5gW0fQfo8YtoqjrrIdgvmWLS2zur9c1U+DXIG8vjLLkMiKTg1TXoeb0phELIme4Clxb9KuSKTaFosKWdVy8g=
on:
tags: true
condition: $DJANGO = '>=3.1,<3.2'
python: 3.8
repo: etianen/django-s3-storage
distributions: sdist bdist_wheel
notifications:
email: false