diff --git a/.travis.yml b/.travis.yml index f9a7f255ff3..df218c37115 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,9 +11,25 @@ cache: directories: - $HOME/.cargo +addons: + apt: + packages: + - libcurl4-openssl-dev + - libelf-dev + - libdw-dev + +before_script: +- | + pip install 'travis-cargo<0.2' --user && + export PATH=$HOME/.local/bin:$PATH + script: - - cargo build - - cargo test +- | + travis-cargo build && + travis-cargo test + +after_success: +- travis-cargo coveralls --no-sudo before_deploy: # TODO: cross build