File tree 6 files changed +50
-4
lines changed
6 files changed +50
-4
lines changed Original file line number Diff line number Diff line change 7
7
branches :
8
8
only :
9
9
- master
10
+ - /^release\/.+$/
10
11
11
12
environment :
12
13
fast_finish : true
13
14
DIST_DIR : ' .'
14
15
CARGO_HTTP_CHECK_REVOKE : false
16
+ ZEUS_HOOK_BASE :
17
+ secure : dcqtt6sxxBV0tDkXmPZOy6GJWwOsnexYCBqoT9RB/MyqwhhOhUgL9bOJgcYxpmzuWj6Oegku7usLQe2xceislPGSIXfrUz3iTD00ufTZqcI0T/8fNDagxNjVNpr5zj+DA/JjLgkqUyQ2+hIIAGtbpHnL0C+pjfuM2iHNNDOepyY=
15
18
16
19
matrix :
17
20
- channel : stable
@@ -20,6 +23,10 @@ environment:
20
23
target : x86_64-pc-windows-msvc
21
24
22
25
install :
26
+ # Push job information to Zeus
27
+ - npm install -g @zeus-ci/cli
28
+ - zeus job update --status=pending
29
+ # Install rust
23
30
- appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe
24
31
- rustup-init -yv --default-toolchain %channel% --default-host %target%
25
32
- set PATH=C:\msys64\mingw64\bin;C:\msys64\usr\bin;%PATH%;%USERPROFILE%\.cargo\bin
@@ -30,3 +37,9 @@ build: false
30
37
31
38
test_script :
32
39
- make test
40
+
41
+ on_success :
42
+ - zeus job update --status=passed
43
+
44
+ on_failure :
45
+ - zeus job update --status=failed
Original file line number Diff line number Diff line change
1
+ ---
2
+ # Configuration for sentry-craft (https://github.com/getsentry/craft)
3
+ github :
4
+ owner : getsentry
5
+ repo : sentry-rust
6
+ targets :
7
+ - name : crates
8
+ - name : gh-pages
9
+ - name : github
10
+ changelogPolicy : simple
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 9
9
branches :
10
10
only :
11
11
- master
12
+ - /^release\/.+$/
12
13
13
14
script : make $SUITE
14
15
@@ -28,6 +29,7 @@ matrix:
28
29
env : SUITE=checkall
29
30
- os : osx
30
31
env : SUITE=cargotestall
32
+ - env : SUITE=travis-push-docs
31
33
32
34
notifications :
33
35
webhooks :
Original file line number Diff line number Diff line change 81
81
@rustup component add clippy-preview 2> /dev/null
82
82
@cargo clippy --all-features --tests -- -D clippy
83
83
.PHONY : lint
84
+
85
+ travis-push-docs :
86
+ @# Intentionally allow command output
87
+ cargo doc --no-deps
88
+ cp misc/docs/index.html target/doc/
89
+ cd target/ && zip -r gh-pages ./doc
90
+ npm install -g @zeus-ci/cli
91
+ zeus upload -t " application/zip+docs" target/gh-pages.zip
92
+ .PHONY : travis-push-docs
Original file line number Diff line number Diff line change
1
+ <!DOCTYPE html>
2
+ <!-- "cargo run" doesn't create index.html in target/doc directory, so we should redirect -->
3
+ < html >
4
+
5
+ < head >
6
+ < title > Sentry Rust</ title >
7
+ </ head >
8
+
9
+ < body >
10
+ Redirecting to < a href ="./sentry/ "> ./sentry/</ a > ...
11
+ < script >
12
+ window . location = './sentry/' ;
13
+ </ script >
14
+ </ body >
15
+
16
+ </ html >
You can’t perform that action at this time.
0 commit comments