Verified Commit a8d6ccd1 authored by Duncan Macleod's avatar Duncan Macleod Committed by Tanner Prestegard

ci: added basic tests

- import module
- run `gracedb --help`
parent 05d852a2
stages:
- build
- test
# -- build ------------------
......@@ -68,3 +69,22 @@ build:debian:jessie:
build:debian:stretch:
<<: *build_debian
image: debian:stretch
# -- test -------------------
.test: &test
stage: test
image: python
before_script:
- python -m pip install .
script:
- python -c "import ligo.gracedb"
- gracedb --help
test:python2.7:
<<: *test
image: python:2.7
test:python3.6:
<<: *test
image: python:3.6
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