fid-rs 0.2.0

High performance FID (Fully Indexable Dictionary) 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: T1PLtSay+QeZphz3UjOn1Pn7q0ojNbPMpzxsKimj0ZFtHe09w4mQYASB1hMr55hb7NvTme/cpPxU5KRj2DFs/UpdqoWqgAyuL6NVPTPnJglE9ZXTXPjGXbr3tiH9b24/xQw3Z3j01bzyW1VRHLRQJXzyDk9ykaN/GIm8hxH15wyVT9x5AqqQ6eT83d1LgkgQFkIAcvMaSJ/+MOYKrOeRL3olIH/zLqvkPJVs7zZm1U0Z1aqMJFwDuOlLpV4Tc9485+Gk0gOz04AuBDWOaQcAy4WICKhIK/d6jI2oYptPrkKZmTwGydtOMDdWpOR4TocrdldPdEe8CothZH6k1i52Q4rl0aU2TgVGJRL+qMy0sAlBkRvvtasC9viJg2UFjL6m5Kdbor9xadj8VpSZtq89TTIMHB8WHQJvJwrOlJZk4w8UYhGV5c5EOYrRii00o4VFy2k7bzMWV55SKJXPdDvcVYLBrbTFbXAJtLDQPZWr+w0YfTMP7oxTRR9FzscVDjvR7sszYI8epfpukjmOX32XDXmz0Y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