forked from project-koku/koku
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
43 lines (31 loc) · 1.27 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
language: python
python:
- "3.6"
- "3.7"
dist: xenial # needed for py37
cache: pip
services:
- postgresql
addons:
postgresql: '9.6'
env:
DATABASE_SERVICE_NAME=POSTGRES_SQL
DATABASE_ENGINE=postgresql
DATABASE_NAME=koku_test
POSTGRES_SQL_SERVICE_HOST=localhost
POSTGRES_SQL_SERVICE_PORT=5432
DATABASE_USER=postgres
DATABASE_PASSWORD=''
before_install:
- sudo rm -f /etc/boto.cfg
install:
- pip install tox-travis codecov
before_script:
- psql -c "create database ${DATABASE_NAME};" -U postgres
script:
- tox
after_success:
- codecov
notifications:
slack:
secure: azhEHslQ7cxp0RVhnHBf6PygTldO/B03CAuG1vBOhklNAtJvt2WUF1xtoxyfmb4FDb5R+Qa2piypMiLxmvuZPZY2DTDIv/bAIwiItG78SrEkXEkaqc46YmgX7yPhSeK+5wTO9rqXqEOOgZ+f43RaIFDEp8M/S1sPe8ROEfvYTJ01v7XyurhxV1Jzawk9fNL7tcbrkbe3bXo+4+yiqWBGQ5B/E8AOlHlxGhWFh401p4fEzYecPU6UHRucbYswDmkVxr84GT/j5dbi/GXwr9FxRVGv3Lm9CLaSI0MbgaNBKnUhgO+SN40AxYGUcGwqEB5352rYmlsJXF44HBMkW22ZECceCJbc4dS6dX9MHh2dxc5iFfKFR9cAwPb6BiY+efDvUfN83MWGeTe6BFvKB8BItSVVck96Vq/1WAgxUgU2oiwKA53+pcjJW/H/TgviKwvSqLhq643aGX7zZys6Nm6jwKIn33jclxUkNTo3W4svN43nV4GF9G+klwa9HxZzI2y32JYzrIf/L9ihCS00TlWZP/1jf3xjr5il2vfezAtDVJ+dx4hmX+VIfRGDFCTs5lfER/OtlpsvFFJraSy+rMHKc57HDz9tKPzCNtSmYweof2HU/QdXt2/Fbd7eGQNJxaJ3m8GxPi6FyNVu1VkbH4TIj6HlltGfB9TJBS9lU5Fs0nQ=