File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change 13
13
global :
14
14
- RUST_BACKTRACE=1
15
15
- RUSTFLAGS="-D warnings"
16
- - PD_ADDR="127.0.0.1:2379"
17
- - TIKV_ADDR="127.0.0.1:2378"
18
16
19
17
install :
20
18
- if [[ $TRAVIS_RUST_VERSION == "stable" && $TRAVIS_OS_NAME == "linux" ]]; then rustup component add rustfmt; fi
@@ -23,13 +21,10 @@ install:
23
21
- if [[ $TRAVIS_OS_NAME == "windows" ]]; then choco install cmake; fi
24
22
- if [[ $TRAVIS_OS_NAME == "windows" ]]; then export PATH="$PATH:/c/Go/bin/:/c/Program Files/CMake/bin"; fi
25
23
26
-
27
- before_script :
24
+ script :
28
25
- if [[ $TRAVIS_RUST_VERSION == "stable" && $TRAVIS_OS_NAME == "linux" ]]; then cargo fmt -- --check; fi
29
26
# Currently some crates have lint errors if clippy checks them.
30
27
- if [[ $TRAVIS_RUST_VERSION == "stable" && $TRAVIS_OS_NAME == "linux" ]]; then cargo clippy -- -D clippy::all; fi
31
-
32
- script :
33
28
- cargo test --all -- --nocapture
34
29
# We need to switch the daemon of Windows to use Linux docker containers.
35
30
- if [[ $TRAVIS_OS_NAME == "windows" ]]; then "/c/Program Files/Docker/Docker/DockerCli.exe" -SwitchDaemon .; fi
You can’t perform that action at this time.
0 commit comments