Add unit testing into gitlab CI config

parent 76b19778
......@@ -78,17 +78,25 @@ build:debian:stretch:
.test: &test
stage: test
image: python
before_script:
- python -m pip install six
- python -m pip install .
script:
- python -c "import ligo.gracedb"
- gracedb --help
- python setup.py test
test:python2.7:
<<: *test
image: python:2.7
test:python3.4:
<<: *test
image: python:3.4
test:python3.5:
<<: *test
image: python:3.5
test:python3.6:
<<: *test
image: python:3.6
test:python3.7:
<<: *test
image: python:3.7
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