forked from pwmarcz/zeus
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.travis.yml
More file actions
31 lines (27 loc) · 709 Bytes
/
Copy path.travis.yml
File metadata and controls
31 lines (27 loc) · 709 Bytes
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
matrix:
include:
- language: python
cache: pip
python: "3.6"
env: NAME=tests
services:
- postgresql
install:
- sudo apt-get install libpq-dev libgmp-dev libmpfr-dev libmpc-dev
- sudo -u postgres createuser -s `whoami` || true
- createdb zeus_test
- pip install pipenv
- pipenv sync --dev
script:
- pipenv run ./compile-translations.sh
- pipenv run pytest -v --cov -n 2
after_success:
- pipenv run codecov
- language: python
cache: pip
env: NAME=flake8
python: "3.6"
install:
pip install flake8==3.6.0
script:
- flake8 --config=.flake8