forked from codeforpdx/recordexpungPDX
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
24 lines (24 loc) · 1.26 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
language: python
sudo: required
dist: xenial
python: 3.7.0
services:
- docker
addons:
apt:
packages:
- docker-ce
before_install:
- docker swarm init
install:
- pip install pipenv
- pipenv install
- make src/backend/expungeservice/requirements.txt database_image expungeservice_image
- docker stack deploy -c docker-compose.yml -c docker-compose.dev.yml recordexpungpdx
before_script:
- counter=0 ; while ((counter < 20)) && ! pg_isready --host=$PGHOST --port=$PGPORT --dbname=$PGDATABASE ; do sleep 3; let counter=counter+1; done
script:
- pipenv run pytest
notifications:
slack:
secure: vl8ew/+M64Eih7YrIma1ADsfTqnrrmvR0rangSIqattIjH4GfPuTGYFyQsarsenRrJW6cr6+DdrP35YmWEfQTUYL3wAbGCiJzNEM9YBdz2XhpCvOJHsn5K9QkXciHjw1AatgxIlk3+JdgkjGEOJWrJ+34jT8x4h4tIZHhU/Y9T3QIshSngW0l1lBXPC4A0y/OTGJA8lk44nplejmM9uBxsO/fXf9doWpAovoYYEKYVA1HDzTsKkNr+NBoLAndJ4zG+d4gIdVJoQKecgywdVCOlpl/SWqFihoOfZz5ENhLJsvW0kevnntoXFki04ee+D28fI+MqCU86pAQF+Zhsq0KG9i4XlDmD+5huLgCTaRN0fALJwLasbRIvDtDdawOjotpqhzUKgPOLDApGw+6v2huWkVkROrpcfMsUnwWdbjiHtt/IAPXbjfEBLX49kGu2dO3M2rLwgi8epEN3GbLJJmSumf7P6gNp/NqjzzealSb3a5v8gZJHwpZcB5u0w8hmjluoaIsPSb+tf0A3P1hqh7NAFON/HFXlD3LUy3aiFETLmKE0ZRBGzPkZCE8qJBmDuMqf8RuH5Fl5Hm9afCUcSoWfdRZj6FrWI3hiY4xRFFSJMWaM7chFRKotTTGeXPjbPsArB+CR4qzQEwTYseytaKA16EJ1c26HHWn23ygfGKhEI=