mirror of
https://gitlab.redox-os.org/CoffeeCode/redox-ssh.git
synced 2025-12-28 13:22:19 +01:00
Fix travis build
This commit is contained in:
parent
6b9551f317
commit
d38742f68c
1 changed files with 8 additions and 3 deletions
11
.travis.yml
11
.travis.yml
|
|
@ -11,6 +11,10 @@ addons:
|
|||
- libcurl4-openssl-dev
|
||||
- libelf-dev
|
||||
- libdw-dev
|
||||
- binutils-dev
|
||||
- cmake
|
||||
sources:
|
||||
- kalakris-cmake
|
||||
env:
|
||||
global:
|
||||
- TRAVIS_CARGO_NIGHTLY_FEATURE=""
|
||||
|
|
@ -19,12 +23,13 @@ before_script:
|
|||
pip install 'travis-cargo<0.2' --user &&
|
||||
export PATH=$HOME/.local/bin:/usr/local/bin:$PATH
|
||||
- export PATH="$PATH:$HOME/.cargo/bin"
|
||||
- cargo install cargo-travis
|
||||
- which rustfmt || cargo install rustfmt
|
||||
script:
|
||||
- cargo fmt -- --write-mode=diff
|
||||
- travis-cargo build
|
||||
- travis-cargo test
|
||||
- cargo build
|
||||
- cargo test
|
||||
- travis-cargo --only stable doc
|
||||
after_success:
|
||||
- travis-cargo --only stable doc-upload
|
||||
- travis-cargo coveralls --no-sudo
|
||||
- cargo coveralls
|
||||
|
|
|
|||
Loading…
Reference in a new issue