Add GitLab CI configuration
This commit is contained in:
parent
c4900b959c
commit
58af08b3f7
|
@ -0,0 +1,20 @@
|
|||
variables:
|
||||
CARGO_HOME: $CI_PROJECT_DIR/.cargo
|
||||
|
||||
.cached: &cached
|
||||
cache:
|
||||
key: $CI_COMMIT_REF_NAME
|
||||
untracked: true
|
||||
paths:
|
||||
- target/
|
||||
- .cargo/
|
||||
|
||||
.test_job: &test_job
|
||||
<<: *cached
|
||||
environment: test
|
||||
|
||||
test:rust_1_23_0:
|
||||
<<: *test_job
|
||||
image: "rust:1.23.0"
|
||||
script:
|
||||
- cargo test --all
|
|
@ -1,3 +1,5 @@
|
|||
[![pipeline status][gitlab-ci-badge]][gitlab-repo-master]
|
||||
|
||||
# Discord RPC Client
|
||||
|
||||
Discord RPC client for Rust
|
||||
|
@ -16,3 +18,6 @@ discord-rpc-client = "^0.1"
|
|||
## Examples
|
||||
|
||||
Examples can be found in the examples directory in this repo.
|
||||
|
||||
[gitlab-ci-badge]: https://gitlab.com/valeth/discord-rpc-client.rs/badges/master/pipeline.svg
|
||||
[gitlab-repo-master]: https://gitlab.com/valeth/discord-rpc-client.rs/commits/master
|
||||
|
|
Loading…
Reference in New Issue