forked from pallets-eco/flask-admin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
52 lines (46 loc) · 1.17 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
sudo: false
language: python
matrix:
include:
- python: 2.7
env: TOX_ENV=py27-WTForms1
- python: 2.7
env: TOX_ENV=py27-WTForms2
- python: 2.7
env: TOX_ENV=flake8
- python: 2.7
env: TOX_ENV=docs-html
- python: 3.5
env: TOX_ENV=py35-WTForms1
- python: 3.5
env: TOX_ENV=py35-WTForms2
- python: 3.6
env: TOX_ENV=py36-WTForms1
- python: 3.6
env: TOX_ENV=py36-WTForms2
- python: 3.7
env: TOX_ENV=py37-WTForms1
- python: 3.7
env: TOX_ENV=py37-WTForms2
- python: 3.8
env: TOX_ENV=py38-WTForms2
addons:
postgresql: "9.4"
apt:
packages:
- postgresql-9.4-postgis-2.4
- postgresql-9.4-postgis-2.4-scripts
services:
- postgresql
- mongodb
- docker
before_script:
- psql -U postgres -c 'CREATE DATABASE flask_admin_test;'
- psql -U postgres -c 'CREATE EXTENSION postgis;' flask_admin_test
- psql -U postgres -c 'CREATE EXTENSION hstore;' flask_admin_test
- docker run --restart always -d -e executable=blob -p 10000:10000 --tmpfs /opt/azurite/folder arafato/azurite:2.6.5
install:
- pip install tox
script: tox -e $TOX_ENV
after_success:
- coveralls