dgraph-tonic 0.2.3

A rust async client for dGraph database build with Tonic crate
Documentation
language: rust
services:
  - docker

jobs:
  fast_finish: true
  include:
    - name: Dgraph 1.0 tests
      rust: stable
      before_install:
        - docker-compose -f docker-compose-1-0.yaml up -d
        - docker ps
      script:
        - rustup component add rustfmt --toolchain stable-x86_64-unknown-linux-gnu
        - cargo fmt -- --check
        - cargo test --verbose -- --test-threads=1
    - name: Dgraph 1.1 tests
      rust: stable
      before_install:
        - docker-compose -f docker-compose-1-1.yaml up -d
        - docker ps
      script:
        - rustup component add rustfmt --toolchain stable-x86_64-unknown-linux-gnu
        - cargo fmt -- --check
        - cargo test --no-default-features --features dgraph-1-1 --verbose -- --test-threads=1
    - name: Dgraph 1.2 tests
      rust: stable
      before_install:
        - docker-compose -f docker-compose-1-2.yaml up -d
        - docker ps
      script:
        - rustup component add rustfmt --toolchain stable-x86_64-unknown-linux-gnu
        - cargo fmt -- --check
        - cargo test --no-default-features --features dgraph-1-1 --verbose -- --test-threads=1