# Based on the "trust" template v0.1.2 # https://github.com/japaric/trust/tree/v0.1.2 # ----------- To do a release --------- # tag a commit and push: # git tag v0.4.0.1 # git push origin v0.4.0.1 # Remember to do a cargo publish to put it in crates.io dist: trusty language: rust services: docker sudo: required # TODO Rust builds on stable by default, this can be # overridden on a case by case basis down below. env: global: # TODO Update this to match the name of your project. - CRATE_NAME=dust matrix: # TODO These are all the build jobs. Adjust as necessary. Comment out what you # don't need include: # Linux - env: TARGET=x86_64-unknown-linux-gnu # OSX - env: TARGET=x86_64-apple-darwin os: osx before_install: - set -e - rustup self update install: - sh ci/install.sh - source ~/.cargo/env || true script: - bash ci/script.sh after_script: set +e before_deploy: - sh ci/before_deploy.sh deploy: # TODO update `api_key.secure` # - Create a `public_repo` GitHub token. Go to: https://github.com/settings/tokens/new # - Encrypt it: `travis encrypt 0123456789012345678901234567890123456789 # - Paste the output down here # api_key: # secure: UlU73Td7Bkb2N88ws4YGLWR+4U0IMgiou9QQtMnmpouJFjeUNxtLSPMPODVXP7zq4sKt5HR5B3fX9MW4mKm351fvnQEoihETn06pKiXGnY//SlTPTt67MX9ZOYmd9ohJReMDOZDgqhnGLxfymycGtsLAmdjDZnAl+IMqgg0FMyVFj9Cl9aKxnn12lxQyX4zabHKk8TUKD3By8ZoEUnJMHt3gEtOmbDgS4brcTPeHCzqnYFw73LEnkqvz+JP0XwauJY7Cf8lminKm/klmjCkQji8T9SHI52v1g0Fxpx0ucp2o3vulQrLHXaHvZ6Fr7J0cSXXzaFF3rrGLt4t4jU/+9TZm1+n5k5XuPW4x4NTCC9NmIj/z0/z41t82E9qZhzhtm2Jdsg6H2tNk+C774TYqcmR6GCvfRadfjRp3cA5dh0UwDVjH2MJFxlHDVkl6la0mVVRsCGF3oBKZVk0BDl1womfnmI46o/uU+gLknHN6Ed6PHHPPYDViWd3VKdmHKT7XrkMMUF6HjZUtla689DWIOWZSiV++1dVPcl/1TV+6tTmN4bBtPcLuX7SHRuLp2PI2kATvRMECsa7gZRypW4jKpVn7b2yetX9TVI3i1zR5zkQJ3dPg8sATvYPL53aKH/WsqUg4rzoAlbk9so+++R4bQY69LhV3B511B7EAynoZFdM api_key: $API_KEY file_glob: true file: $CRATE_NAME-$TRAVIS_TAG-$TARGET.* on: # TODO Here you can pick which targets will generate binary releases # In this example, there are some targets that are tested using the stable # and nightly channels. This condition makes sure there is only one release # for such targets and that's generated using the stable channel condition: $TRAVIS_RUST_VERSION = stable tags: true provider: releases skip_cleanup: 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 - /^v\d+\.\d+\.\d+.*$/ - master notifications: email: on_success: never