parity-scale-codec 1.3.7

SCALE - Simple Concatenating Aggregated Little Endians
Documentation
# .gitlab-ci.yml
#

stages:
  - test
  - build


image:                             parity/rust-builder:latest

variables:
  GIT_STRATEGY:                    fetch
  CARGO_HOME:                      "/ci-cache/${CI_PROJECT_NAME}/cargo/${CI_JOB_NAME}"
  SCCACHE_DIR:                     "/ci-cache/${CI_PROJECT_NAME}/sccache"
  CARGO_INCREMENTAL:               0
  CI_SERVER_NAME:                  "GitLab CI"


#### stage:                        test

test-rust-stable:
  stage:                           test
  script:
    - time cargo test --verbose --all --features bit-vec,generic-array,derive
    - sccache -s
  only:
    - triggers
    - tags
    - master
    - schedules
    - web
    - /^[0-9]+$/
  tags:
    - linux-docker

test-rust-stable-no_derive:
  stage:                           test
  script:
    - time cargo test --verbose --features bit-vec,generic-array
    - sccache -s
  only:
    - triggers
    - tags
    - master
    - schedules
    - web
    - /^[0-9]+$/
  tags:
    - linux-docker

check-rust-stable-no_derive_no_std_full:
  stage:                           test
  script:
    - time cargo check --verbose --no-default-features --features bit-vec,generic-array,full
    - sccache -s
  only:
    - triggers
    - tags
    - master
    - schedules
    - web
    - /^[0-9]+$/
  tags:
    - linux-docker

check-rust-stable-no_derive_no_std:
  stage:                           test
  script:
    - time cargo check --verbose --no-default-features --features bit-vec,generic-array
    - sccache -s
  only:
    - triggers
    - tags
    - master
    - schedules
    - web
    - /^[0-9]+$/
  tags:
    - linux-docker

check-rust-stable-no_derive_full:
  stage:                           test
  script:
    - time cargo check --verbose --features bit-vec,generic-array,full
    - sccache -s
  only:
    - triggers
    - tags
    - master
    - schedules
    - web
    - /^[0-9]+$/
  tags:
    - linux-docker

bench-rust-nightly:
  stage:                           test
  script:
    - time cargo +nightly bench --features bit-vec,generic-array,derive
    - sccache -s
  only:
    - triggers
    - tags
    - master
    - schedules
    - web
    - /^[0-9]+$/
  tags:
    - linux-docker

#### stage:                        build

build-linux-ubuntu-amd64:
  stage:                           build
  script:
    - cargo build --verbose --release --features bit-vec,generic-array,derive
    - sccache -s
  only:
    - master
    - tags
    - web
  tags:
    - linux-docker