prometheus 0.11.0

Prometheus instrumentation library for Rust applications.
Documentation
language: rust
sudo: false

os:
 - linux
 - osx

addons:
  apt:
    packages:
      - gcc-multilib

env:
  matrix:
    - FEATURES="protobuf push process"
    - FEATURES=""
  global:
    - RUSTFLAGS=--deny=warnings
    - ARCH=i686

# Must be present for matrix.
rust:

matrix:
  fast_finish: true
  include:
  - rust: nightly
  - rust: nightly
    env: FEATURES="nightly protobuf push process"
  - rust: beta
  - rust: stable
  allow_failures:
  - rust: nightly

script:
  - cargo test --no-default-features --features="$FEATURES"
  - |
    if [ $TRAVIS_RUST_VERSION = 'nightly' ]; then
        cargo build -p prometheus-static-metric --examples --no-default-features --features="$FEATURES"
        cargo test -p prometheus-static-metric --no-default-features --features="$FEATURES"
    fi