funzzy 0.3.3

The fancy watcher inspired by entr.
Documentation
sudo: false

language: rust

# NOTE This configuration has only be tested on the stable channel
rust: stable

os:
  - linux
  - osx

env:
  global:
    # This will be part of the release tarball
    - PROJECT_NAME=funzzy

matrix:
  # Clear the whole matrix
  exclude:
    - os: linux
    - os: osx
  # Add each target manually
  include:
    - os: linux
      env: TARGET=x86_64-unknown-linux-gnu

    - os: osx
      env: TARGET=x86_64-apple-darwin

install:
    - sh ci/install.sh

script:
    - sh ci/script.sh

before_deploy:
    - sh ci/before_deploy.sh

deploy:
  provider: releases
  # TODO Regenerate this api_key for your project, this one won't work for you. Here's how:
  # - Go to 'https://github.com/settings/tokens/new' and generate a Token with only the
  # `public_repo` scope enabled
  # - Call `travis encrypt $github_token` where $github_token is the token you got in the previous
  # step and `travis` is the official Travis CI gem (see https://rubygems.org/gems/travis/)
  # - Enter the "encrypted value" below
  api_key:
    secure: "YDpJMZEJLZI+CqPajjwiOr77HTrWjYHY6lqWT0LqDDvizCP/IZDkwfELIAcwA42jVQoNYjPvz0blXpqnoGGDqwEDW3CpbU6Kgj5yTJMetpxeaazV9trw+4Ip7m8ltv6bxir4XWS5VcjE2C8zyoP8zM6k0cEByp4meoh3A5puxkln2VlQM9SNNIIYnAPq8FzjwyrJ6Q2P3fPqLtOo2JAphEx35Ey/LwSKGLKBMWq83gTeiz3+2yw1r+FtBwuvjXIAAa/zfpavEs2kgIvyLGs0twO8QYsut9Qv1Uiqso+r1pZ3VE41W8JWFJyT3sFpa16ZOsTpYGomFJppulMHxd/W/48hEMM53CyJP5t9NapLyXEnpUwVCcFKLuf1TSnzpZqyOc6Kqwc1X4qf2UruPkSf+VD/X7sjyghuyo0k3uXyqjutWycj+v2y9+1d3rB3NoYeSU1m8TyG1LgYmCSY/3q7qtL0V0Up1Y1rTZNSpcVWRB2Q9QRoWqc65w/HzpqmM1tJhfUYduHrMUS+wDQqW7VFA7D9hxkykFAuAD61IES5rAz/3J6g/V6wIfDXUk5FBF1VsljecnVfDtr5ybm2YUdjNUcIz1ARcWvT3QJIHEbiU6Xv9ri1dQUlHmNRjbIbiuL6t5XVY/tWCsEQkHQ9dLEIZPMaOdYyZQWiguDK2Wgj1pk="
  file: ${PROJECT_NAME}-${TRAVIS_TAG}-${TARGET}.tar.gz
  # don't delete the artifacts from previous phases
  skip_cleanup: true
  # deploy when a new tag is pushed
  on:
    tags: true

branches:
  only:
    # Pushes and PR to the master branch
    - master
    # IMPORTANT Ruby regex to match tags. Required, or travis won't trigger deploys when a new tag
    # is pushed. This regex matches semantic versions like v1.2.3-rc4+2016.02.22
    - /^v\d+\.\d+\.\d+.*$/

notifications:
  email:
    on_success: never