File tree Expand file tree Collapse file tree 3 files changed +14
-58
lines changed
Expand file tree Collapse file tree 3 files changed +14
-58
lines changed Original file line number Diff line number Diff line change 11language : rust
22
3+ rust :
4+ - stable
5+ - beta
6+ - nightly
7+
8+ os :
9+ - linux
10+ - osx
11+
312cache :
413 timeout : 360
514 cargo : true
@@ -10,16 +19,10 @@ before_cache:
1019env :
1120 global :
1221 - CRATE_NAME=mdbook
13- - TARGET=x86_64-unknown-linux-gnu
14-
15- install :
16- - sh ci/install.sh
17- - export PATH=$PATH:$HOME/.cargo/bin
1822
1923script :
20- - cargo build --all --no-default-features
21- - cargo build --verbose
22- - cargo test --verbose
24+ - cargo test --all
25+ - cargo test --all --no-default-features
2326
2427before_deploy :
2528 - sh ci/before_deploy.sh
Original file line number Diff line number Diff line change @@ -36,12 +36,12 @@ build: false
3636
3737# Equivalent to Travis' `script` phase
3838test_script :
39- - cargo build --verbose
40- - cargo test --verbose
39+ - cargo test --all
40+ - cargo test --all --no-default-features
4141
4242before_deploy :
4343 # Generate artifacts for release
44- - cargo build --release
44+ - cargo rustc --bin mdbook -- release -- -C lto
4545 - mkdir staging
4646 - copy target\release\mdbook.exe staging
4747 - cd staging
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments