forked from FrancisMurillo/oxide-auth
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.cirrus.yml
53 lines (50 loc) · 1.43 KB
/
.cirrus.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
stable_task:
container:
image: rust:latest
cargo_cache:
folder: $CARGO_HOME/registry
fingerprint_script: cargo update && cat Cargo.lock
env:
matrix:
- CRATE: oxide-auth
- CRATE: oxide-auth-async
- CRATE: oxide-auth-actix
- CRATE: actix-example
- CRATE: oxide-auth-iron
- CRATE: oxide-auth-rouille
- CRATE: oxide-auth-db
OXIDE_AUTH_SKIP_REDIS: yes
- CRATE: db-example
build_script: cargo build -p "$CRATE" --examples
test_script: cargo test -p "$CRATE"
before_cache_script: rm -rf $CARGO_HOME/registry/index
nightly_task:
container:
image: rustlang/rust:nightly
cargo_cache:
folder: $CARGO_HOME/registry
fingerprint_script: cargo update && cat Cargo.lock
env:
matrix:
- CRATE: oxide-auth
- CRATE: oxide-auth-async
- CRATE: oxide-auth-actix
- CRATE: actix-example
- CRATE: oxide-auth-iron
- CRATE: oxide-auth-rouille
- CRATE: oxide-auth-rocket
- CRATE: oxide-auth-db
OXIDE_AUTH_SKIP_REDIS: yes
- CRATE: db-example
build_script: cargo build -p "$CRATE" --examples
test_script: cargo test -p "$CRATE"
before_cache_script: rm -rf $CARGO_HOME/registry/index
release_task:
only_if: $CIRRUS_BRANCH =~ 'release.*'
container:
image: rust:latest
script: ./release
doc_task:
container:
image: rustlang/rust:nightly
script: cargo doc --no-deps --document-private-items --all-features