Commit 3c37ed3c authored by Kevin Lyda's avatar Kevin Lyda 💬

Add .gitlab-ci.yml so I can test locally.

parent d16d07de
Pipeline #1047 passed with stage
in 4 minutes and 10 seconds
# Dear maintainers of the pypy image...
before_script:
- test -f /usr/local/bin/pypy && ln -s pypy /usr/local/bin/python
- test -f /usr/local/bin/pypy3 && ln -s pypy3 /usr/local/bin/python
test:2.7:
image: python:2.7-alpine
type: test
script:
- pip install pytest-cov
- python setup.py install
- python setup.py test
- py.test --cov=chkcrontab_lib tests
test:3.3:
image: python:3.3-alpine
type: test
script:
- pip install pytest-cov
- python setup.py install
- python setup.py test
- py.test --cov=chkcrontab_lib tests
test:3.4:
image: python:3.4-alpine
type: test
script:
- pip install pytest-cov
- python setup.py install
- python setup.py test
- py.test --cov=chkcrontab_lib tests
test:3.5:
image: python:3.5-alpine
type: test
script:
- pip install pytest-cov
- python setup.py install
- python setup.py test
- py.test --cov=chkcrontab_lib tests
test:3.6:
image: python:3.6-alpine
type: test
script:
- pip install pytest-cov
- python setup.py install
- python setup.py test
- py.test --cov=chkcrontab_lib tests
test:pypy-2:
image: pypy:2-slim
type: test
script:
- pip install pytest-cov
- python setup.py install
- python setup.py test
- py.test --cov=chkcrontab_lib tests
# TODO(lyda): Fix test coverage here.
test:pypy-3:
image: pypy:3-slim
type: test
script:
- pip install pytest-cov
- python setup.py install
- python setup.py test
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment