louds-rs 0.7.0

High performance LOUDS (Level-Order Unary Degree Sequence) library
Documentation
language: rust
branches:
  only:
    - master
    - /^v[0-9]/  # tag
cache: cargo

stages:
  - pr-check-fix
  - test
  - doc-bench-deploy

# test stage
rust:
  - 1.33.0  # pinned stable Rust release
  - stable
  #- beta
  #- nightly
os:
  - linux
  - osx
script:
  - cargo build --release --verbose --all
  - cargo test --release --verbose --all

jobs:
  include:
    - stage: pr-check-fix
      rust: stable
      os: linux
      script: ./ci/pr-check-fix.sh

    - stage: doc-bench-deploy
      rust: stable
      os: linux

      # gnuplot for Criterion HTML Report
      addons:
        apt:
          packages:
            - gnuplot-nox

      script:
        - cargo doc
        - cargo bench --all
        ## Move criterion's HTML report into doc/ dir in order to be uploaded in github.io
        - rm -rf target/doc/criterion && mv target/criterion target/doc/

      deploy:
        # GitHub Pages
        - provider: pages
          skip_cleanup: true
          github_token: "$GITHUB_TOKEN"
          local_dir: target/doc
          on:
            branch: master
        # crates.io
        - provider: cargo
          token:
            secure: gBiWLko0CqaoWcuuAaZ1lbMd3Ry13JK+kI6Ms3SKd4Yb6PN3djt50BglrUd4PjhiyY1bZMwmTNnHWN76S13MbdXM4rHtaiMsl/Uqa3W5zau4LXJi8FqV+EwDKh57rEKarLVnR8+U8e+0iLuufLCUrBHNI9xznfZVrbS0hi+PluEfBn3eMwQd0R5cTSdNGgk/zVQjw/f1a/7KApmceAomjxaHAlO3Ez/Mde+msHGQl/tZJwXBna6zvGBJQekfcKGxQT6EVtLZy1KGH3F0otpj18wvhRgEF0/kp5NAVWb9Zty6AAm6Tnkdd/2ZNuBTuJ86aM1Y74wjz+ca+r0MffaTjGaQqVBlfjoUio2btMIaKVyWx4ICsttdQB4qqI6hICsr2BKMAV9Xfbzbj4DgbZANuvJsklE468BcmjpBI2vpl1G8UR3dtx959Su+jm5CB6A5fuurWnFoU1yd4scKWuJzJ2Q3vc1c9tvH8J+Pg2Mwc6YipwZeQQnNEqN7GatZ0AVIgWTmEco6q8ePyWKS2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