parity-codec 3.5.0

Lightweight, efficient, binary serialization and deserialization codec
# .gitlab-ci.yml
#

stages:
  - test
  - build


image:                             parity/rust:nightly

variables:
  CI_SERVER_NAME:                  "GitLab CI"
  CARGO_HOME:                      "${CI_PROJECT_DIR}/.cargo"

cache:
  key:                             "${CI_JOB_NAME}"
  paths:
    - ./.cargo/


#### stage:                        test

test:rust:stable:
  stage:                           test
  script:
    - time cargo test --verbose --all
  only:
    - triggers
    - tags
    - master
    - schedules
    - web
    - /^[0-9]+$/
  tags:
    - rust


#### stage:                        build

build:linux:ubuntu:amd64:
  stage:                           build
  script:
    - cargo build --verbose --release
  only:
    - master
    - tags
    - web
  tags:
    - rust