You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

.travis.yml 2.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. # Based on the "trust" template v0.1.1
  2. # https://github.com/japaric/trust/tree/v0.1.1
  3. dist: trusty
  4. language: rust
  5. services: docker
  6. sudo: required
  7. # TODO Rust builds on stable by default, this can be
  8. # overridden on a case by case basis down below.
  9. env:
  10. global:
  11. # TODO Update this to match the name of your project.
  12. - CRATE_NAME=tantivy-cli
  13. matrix:
  14. # TODO These are all the build jobs. Adjust as necessary. Comment out what you
  15. # don't need
  16. include:
  17. # Linux
  18. - env: TARGET=x86_64-unknown-linux-musl
  19. rust: nightly
  20. # OSX
  21. - env: TARGET=x86_64-apple-darwin
  22. os: osx
  23. rust: nightly
  24. before_install: set -e
  25. install:
  26. - sh ci/install.sh
  27. - source ~/.cargo/env || true
  28. script:
  29. - bash ci/script.sh
  30. after_script: set +e
  31. before_deploy:
  32. - sh ci/before_deploy.sh
  33. deploy:
  34. api_key:
  35. secure: "YIvQWnj9Nadcc9x4tzGSaEh9yW6t0YFFMvqJucc1RSFsT2thTe9BVwawntIbnnTyqWDpkYnxgMV83fPK1rSKwtNHCKVjuIukzQz1QCtK8GHV32AiVlopb5y5WgBsZIA2+1kgDnaJ/qXc3oOpyUfd7V9fPfdT3IR3fdkDR1Ywm2l6oSxqN/6cdIWAtU67nAvDfVbvJVi0gcmT+PkVaEPCVsyOuZ8iwy05oStN2RJv7d41T2mwPnbj8g4nlL2u18U6iFfsG01PIpQ0oa7GWDran9npr3zWbhPJwMAgdvoc30gh6z7y/1eRcv6Vggh/MF8nqmJ5dWCOMr5WIXMa81jTwwKsuarnG5EkFo9rJ/opzHQE0J/wwFBtwKtAREhezmq6xpPuUcTVzdnq+Fr234toBhvJNfABtNK9h9Nbbac0nHh4HnHB/OoE2zMrtJshmH1TcIHEvM2Sz0s3fG8d8REkI8B2wOoCEnmn6LC2YyFvLhCSZWYaC/LsRx2VThBwKIGztbuR3NDhwkUIVtrMapi+H3Ds5o7bKClXotXqLvK7OBkCw0ZceZ1ijqNw2axq1HZWqvguA0ZRLmTJ9enIOhX5Y4GoQDfc7DPEOPwjT4boEwQblwXx1UUvCAmFlqa8MSNCeRqHLOD7MNuOFWw1WPsyJdvZEQ62UvHWrqQ8l0J5qQY="
  36. file_glob: true
  37. file: $CRATE_NAME-$TRAVIS_TAG-$TARGET.*
  38. on:
  39. # TODO Here you can pick which targets will generate binary releases
  40. # In this example, there are some targets that are tested using the stable
  41. # and nightly channels. This condition makes sure there is only one release
  42. # for such targets and that's generated using the stable channel
  43. # condition: $TRAVIS_RUST_VERSION = stable
  44. tags: true
  45. provider: releases
  46. skip_cleanup: true
  47. cache: cargo
  48. before_cache:
  49. # Travis can't cache files that are not readable by "others"
  50. - chmod -R a+r $HOME/.cargo
  51. branches:
  52. only:
  53. # release tags
  54. - /^v\d+\.\d+\.\d+.*$/
  55. - master
  56. notifications:
  57. email:
  58. on_success: always