2020-06-03 06:29:53 +00:00
|
|
|
stages:
|
|
|
|
- test
|
|
|
|
|
|
|
|
|
2020-06-12 06:20:52 +00:00
|
|
|
.python:
|
2020-06-03 06:29:53 +00:00
|
|
|
stage: test
|
|
|
|
services:
|
|
|
|
- name: liminspace/mjml-tcpserver:latest
|
|
|
|
alias: mjml
|
2020-06-12 06:15:25 +00:00
|
|
|
- postgres:9.6
|
|
|
|
variables:
|
|
|
|
POSTGRES_USER: postgres
|
|
|
|
POSTGRES_PASSWORD: ""
|
|
|
|
POSTGRES_HOST_AUTH_METHOD: trust
|
2020-06-03 06:33:52 +00:00
|
|
|
before_script:
|
|
|
|
- pip3 install -e .
|
2020-06-03 06:29:53 +00:00
|
|
|
script:
|
|
|
|
- python3 runtests.py
|
|
|
|
|
2020-06-12 06:20:52 +00:00
|
|
|
three_six:
|
|
|
|
extends: .python
|
|
|
|
image: python:3.6
|
|
|
|
|
|
|
|
three_seven:
|
|
|
|
extends: .python
|
|
|
|
image: python:3.7
|
|
|
|
|
|
|
|
three_eight:
|
|
|
|
extends: .python
|
|
|
|
image: python:3.8
|