dbq 0.1.0

Job queueing and processing library with queues stored in Postgres 9.5+
Documentation
stages:
  - build
  - test

build-release:
  stage: build
  image: rust:1.32
  script:
    - rustc --version && cargo --version
    - cargo build --release

test:
  stage: test
  image: rust:1.32
  script:
    - cargo test

test-integration:
  stage: test
  image: rust:1.32
  services:
    - postgres:9.5
  variables:
    POSTGRES_DB: dbq
    POSTGRES_USER: postgres
    POSTGRES_PASSWORD: password
    DBQ_POSTGRES_HOST: postgres
  script:
    - cargo test --features integration_tests