File tree 1 file changed +2
-2
lines changed 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -27,12 +27,12 @@ install:
27
27
before_script :
28
28
- if [[ $TRAVIS_RUST_VERSION == "stable" && $TRAVIS_OS_NAME == "linux" ]]; then cargo fmt -- --check; fi
29
29
# Currently some crates have lint errors if clippy checks them.
30
- - if [[ $TRAVIS_RUST_VERSION == "stable" && $TRAVIS_OS_NAME == "linux" ]]; then cargo build && cargo clippy -- -D clippy::all; fi
30
+ - if [[ $TRAVIS_RUST_VERSION == "stable" && $TRAVIS_OS_NAME == "linux" ]]; then cargo clippy -- -D clippy::all; fi
31
31
32
32
script :
33
33
- cargo test
34
34
# We need to switch the daemon of Windows to use Linux docker containers.
35
- - if [[ $TRAVIS_OS_NAME == "windows" ]]; then docker -switchDaemon ; fi
35
+ - if [[ $TRAVIS_OS_NAME == "windows" ]]; then "/c/Program Files/Docker/Docker/DockerCli.exe" -SwitchDaemon . ; fi
36
36
# OS X can't do docker on travis. :(
37
37
- if [[ $TRAVIS_OS_NAME != "osx" ]]; then docker run -d --net=host --name pd --rm pingcap/pd --name "pd" --data-dir "pd" --client-urls "http://127.0.0.1:2379" --advertise-client-urls "http://127.0.0.1:2379"; fi
38
38
- if [[ $TRAVIS_OS_NAME != "osx" ]]; then docker run -d --net=host --name kv --rm --ulimit nofile=90000:90000 pingcap/tikv --pd-endpoints "127.0.0.1:2379" --addr "127.0.0.1:2378" --data-dir "kv"; fi
You can’t perform that action at this time.
0 commit comments