flowgger 0.2.8

Flowgger is a fast, simple and lightweight data collector.
Documentation
# Based on the "trust" template v0.1.1
# https://github.com/japaric/trust/tree/v0.1.1

dist: bionic
language: rust
services: docker
sudo: required

rust: stable

env:
  global:
    - CRATE_NAME=flowgger
    - TARGET=x86_64-unknown-linux-gnu
    - FLOWGGER_FEATURES="syslog kafka-output file redis tls gelf ltsv"

matrix:
  include:
    - env: TARGET=x86_64-unknown-linux-gnu
    - env: TARGET=x86_64-unknown-linux-musl
    - env: TARGET=i686-unknown-linux-gnu DISABLE_TESTS=1
    # - env: TARGET=i686-unknown-freebsd DISABLE_TESTS=1
    # - env: TARGET=x86_64-unknown-freebsd DISABLE_TESTS=1
    - env: TARGET=aarch64-unknown-linux-gnu DISABLE_TESTS=1
    - env: TARGET=armv7-unknown-linux-gnueabihf DISABLE_TESTS=1
    - env: TARGET=mips-unknown-linux-gnu DISABLE_TESTS=1
    - env: TARGET=mips64-unknown-linux-gnuabi64 DISABLE_TESTS=1
    - env: TARGET=mips64el-unknown-linux-gnuabi64 DISABLE_TESTS=1
    - env: TARGET=mipsel-unknown-linux-gnu DISABLE_TESTS=1
    - env: TARGET=powerpc-unknown-linux-gnu DISABLE_TESTS=1
    - env: TARGET=powerpc64-unknown-linux-gnu DISABLE_TESTS=1
    - env: TARGET=powerpc64le-unknown-linux-gnu DISABLE_TESTS=1
    - env: TARGET=s390x-unknown-linux-gnu DISABLE_TESTS=1
  allow_failures:
    - env: TARGET=aarch64-unknown-linux-musl DISABLE_TESTS=1

install:
  - sh ci/install.sh
  - source ~/.cargo/env || true

script:
  - bash ci/script.sh

before_deploy:
  - sh ci/before_deploy.sh

deploy:
  provider: releases
  api_key: "${GITHUB_APIKEY}"
  file: "flowgger_${TARGET}.zip"
  skip_cleanup: true
  on:
    tags: true

cache: cargo
before_cache:
  # Travis can't cache files that are not readable by "others"
  - chmod -R a+r $HOME/.cargo

branches:
  only:
    # release tags
    - /^\d+\.\d+\.\d+.*$/
    - master

notifications:
  email:
    on_success: never