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 1.8KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. dist: trusty
  2. language: rust
  3. services: docker
  4. sudo: required
  5. env:
  6. global:
  7. - CRATE_NAME=gutenberg
  8. matrix:
  9. include:
  10. # Linux
  11. - env: TARGET=x86_64-unknown-linux-gnu
  12. # OSX
  13. - env: TARGET=x86_64-apple-darwin
  14. os: osx
  15. # Testing other channels
  16. - env: TARGET=x86_64-unknown-linux-gnu
  17. rust: beta
  18. - env: TARGET=x86_64-unknown-linux-gnu
  19. rust: nightly
  20. # The earliest stable Rust version that works
  21. - env: TARGET=x86_64-unknown-linux-gnu
  22. rust: 1.23.0
  23. before_install: set -e
  24. install:
  25. - sh ci/install.sh
  26. - source ~/.cargo/env || true
  27. script:
  28. - bash ci/script.sh
  29. after_script: set +e
  30. before_deploy:
  31. - sh ci/before_deploy.sh
  32. deploy:
  33. api_key:
  34. secure: X0M1TT06/MHfwaENl+u/K3twBU0BVTQimXfBkHzODWsWC84SGeJPMiovIkuBxq4P7Wk7sIr1d/IINlq0sK40IvI3Xwy95YtpTKcK52ffZjTmHSNExCy+OhW2JefNPOwPI89JWKsmHM1I8FuDRiENTyawVS8akcl1XnQhS3V3a1zEuwpULO+6UwDTauJDRdVenDY7tHxbwYH644djZpKcL3LsPLkv0r0XlWnyH+Lw65/ggUmw63KaZTN+hOYfznXGNjlsv2YSD8lCo7eGGg+WA1rsr1SDOxzMM60OOE2Y4lDo0lX9tPWAxMfltvuouxfZ8Y2II4oNEYQui+AqaZ6CfhjFrfZG5P6QdFcGcjiYhDC+s+R9m+tCtzCcKh+lahxcfwOEo1O9pAsg77XVy5gf9guM++9uhYc54Z7tUeyNyJQVaQHt0drmqqeQWfk8w2YBmTPiJ7mwAbhEU5gISWQBpc9eRM1PiOaWDOJHgyV1rZfOT6RxgKBu5DW4pSZ6Iar7Qc+u4ei80QRI2jVsnlPY8/5rl/z0fqSnOen/wyGQHNI18SwXiy0TbN8aMpwr9tllOBYtjrWoX4xCj8NJksl1EAYaE2Cwy768mSfO9FTMqGQpuG5S6M9BRsG5pOtZdKpxjyP8vJ1ahp8KDI9Mz8QJSfG6kOHXqCaed+MmJNxJYI0=
  35. file_glob: true
  36. file: $CRATE_NAME-$TRAVIS_TAG-$TARGET.*
  37. on:
  38. condition: $TRAVIS_RUST_VERSION = stable
  39. tags: true
  40. provider: releases
  41. skip_cleanup: true
  42. cache: cargo
  43. before_cache:
  44. # Travis can't cache files that are not readable by "others"
  45. - chmod -R a+r $HOME/.cargo
  46. branches:
  47. only:
  48. # release tags
  49. - /^v\d+\.\d+\.\d+.*$/
  50. - master
  51. notifications:
  52. email: false