This repository has been archived by the owner on Jun 8, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Copied over code from cargo-crev. Deleted most cargo specific referen…
…ces.
- Loading branch information
Showing
19 changed files
with
5,074 additions
and
201 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
Thank you for using `crev`! | ||
|
||
If you want to ask a question, try crev's gitter channel first: https://gitter.im/dpc/crev . You might get a faster answer. | ||
|
||
If you want to report an issue, please go through the following checklist: | ||
|
||
* If a command is failing try running it with `RUST_BACKTRACE=1` | ||
* Paste the exact command and error and/or outputs (along with the backtrace) | ||
* Please let us know: | ||
* Which version are you using (eg. `cargo crev --version`) | ||
* How did you install `crev` (git?, cargo?, your distribution?) | ||
* What OS/platform are you running on |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Checklist: | ||
|
||
* [ ] `cargo +nightly fmt --all` | ||
* [ ] Modify `CHANGELOG.md` if applicable |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
/target | ||
**/*.rs.bk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
language: rust | ||
cache: cargo | ||
|
||
matrix: | ||
include: | ||
# OS compat | ||
- os: linux | ||
- os: osx | ||
|
||
# rustc version compat | ||
- rust: stable | ||
- rust: 1.36.0 # oldest supported version, keep in sync with README.md | ||
- rust: beta | ||
- rust: nightly | ||
|
||
# deployments | ||
- env: DEPLOY=1 TARGET=x86_64-apple-darwin OPENSSL_STATIC=yes | ||
script: cargo build --release --target $TARGET --features=all | ||
os: osx | ||
- env: DEPLOY=1 TARGET=x86_64-unknown-linux-musl OPENSSL_DIR=$HOME/openssl-musl | ||
before_script: ./ci/travis-musl-openssl.sh | ||
script: cargo build --release --target $TARGET --features=all | ||
addons: | ||
apt: | ||
packages: | ||
- musl-tools | ||
allow_failures: | ||
- rust: nightly | ||
|
||
before_script: | ||
- export EXTRA_FEATURES= | ||
- if [[ "${TRAVIS_RUST_VERSION}" = "nightly" ]]; then export EXTRA_FEATURES="$EXTRA_FEATURES unstable"; fi | ||
- if [[ "${DIST_SCCACHE}" = "1" ]]; then export EXTRA_FEATURES="$EXTRA_FEATURES dist-client dist-server"; fi | ||
|
||
script: | ||
- cargo build --verbose --features="all ${EXTRA_FEATURES}" | ||
- RUST_BACKTRACE=1 cargo test --all --verbose --no-default-features --features="${EXTRA_FEATURES}" | ||
- RUST_BACKTRACE=1 cargo test --all --verbose --features="all ${EXTRA_FEATURES}" | ||
# Requires PR #321 | ||
#- if [[ "${DIST_SCCACHE}" = "1" ]]; then RUST_BACKTRACE=1 cargo test --all --verbose --features="all dist-tests ${EXTRA_FEATURES}" test_dist_ -- --test-threads 1; fi | ||
|
||
before_deploy: | ||
- "./ci/prep_deploy.sh" | ||
|
||
deploy: | ||
api_key: | ||
secure: "BiKnB7yxYvqn6ZISVeBjCQFoSeJKjtAxdEAxlZuNF0YKSwPn7/vQaZjASKORu+Q8uGUTRIKaR0HYiF4mbT5nuKPI0VDsHnGFOWvU/QaZazYbNR1RDbPPXiq6buamGwj3GM2VnV49v/1yVexu6+6D1QcR+tES02lJuhKvDMKU+6+0Fw2HcZbO7E1HFfllnPGvgU42fol16B6D12mqHL91K+zhtNZWKGafbmajSqAXpJW6wCSbygeGgpvWW9PuCQ6SzuxTGF8CGyZFZgSA7SjRAMeRkpg5imeIY6uZxytK/ynGuamYZAcvdrePOg2wjogEvCKxcu4RD0uuHmij2a3CPBdkhWksstyuhNkEv34yeLZRu+7Tbt5w2nEQm1+89pVMdCe8IMI08o0g25UaANpmrL+z1VSd17JNt7OetDcrNnSOrcEBDrI03lD4cRpsMqe/tYJGDkmDxfh8sqjKKHN1Wv9VDl/V8ZiL7hB7mB5ZoamrzXrcz3QiWXCJG8U3MHuyhXWpQNLEQ2ZP/n08mZElkhvx4+0rGUWf9l8iQ9e4zwashki7fD3MN9wG8SskfqsHka5c9uCFMl5T18XZ3t+dlu1Xvpccl0NtXpU5ZHTeJJ36I3AFr9m7uMrYrg09Y8l2yySdIHd2emb09dyZk6Z38mE4+r+Dz+I13PH3TZAC2Wk=" | ||
file_glob: true | ||
file: $TRAVIS_TAG-$TARGET.* | ||
on: | ||
condition: $TRAVIS_RUST_VERSION = stable | ||
condition: $DEPLOY = 1 | ||
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 |
Oops, something went wrong.