forked from RedHatInsights/vulnerability-engine
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
35 lines (35 loc) · 783 Bytes
/
.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
git:
depth: false
branches:
only:
- master
- stable
sudo: required
language: python
python:
- "3.6"
notifications:
email: false
install:
- pip install -U pip pipenv codecov
- cd tests
- pipenv install --ignore-pipfile --deploy --system && if [ "${PIPENV_CHECK}" == 1 ] ; then pipenv check --system ; fi
- cd ..
script:
- PIPENV_VERBOSITY=-1 /bin/bash run_tests.sh
- codecov
addons:
postgresql: "12"
apt:
packages:
- postgresql-12
- postgresql-client-12
env:
global:
- PGPORT=5433
after_success:
- bash scripts/db_docs_generator.sh
- git config --global user.name "vmaas-bot"
- git config --global user.email "[email protected]"
- pip install python-semantic-release
- semantic-release publish