diff options
author | Dirkjan Ochtman <dirkjan@ochtman.nl> | 2018-01-21 11:24:55 +0100 |
---|---|---|
committer | Dirkjan Ochtman <dirkjan@ochtman.nl> | 2018-01-22 11:27:23 +0100 |
commit | e238032a7441d5174fd62038bc530fa8aa3a90f6 (patch) | |
tree | a85d47f7f6ba5a9da8d00d09b5d3357ae771552f /.travis.yml | |
parent | a69d0609e994657392a8ebcac72c038669f75ea9 (diff) | |
download | askama-e238032a7441d5174fd62038bc530fa8aa3a90f6.tar.gz askama-e238032a7441d5174fd62038bc530fa8aa3a90f6.tar.bz2 askama-e238032a7441d5174fd62038bc530fa8aa3a90f6.zip |
Run Rocket tests on CI for nightly Rust
Diffstat (limited to '')
-rw-r--r-- | .travis.yml | 39 |
1 files changed, 11 insertions, 28 deletions
diff --git a/.travis.yml b/.travis.yml index c4f7c9e..e833d4d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,33 +2,16 @@ language: rust rust: - stable - beta - - nightly script: - cargo test --all -before_install: - - sudo apt-get update -addons: - apt: - packages: - - libcurl4-openssl-dev - - libelf-dev - - libdw-dev - - cmake - - gcc - - binutils-dev -after_success: | - wget https://github.com/SimonKagstrom/kcov/archive/master.tar.gz && - tar xzf master.tar.gz && - cd kcov-master && - mkdir build && - cd build && - cmake .. && - make && - sudo make install && - cd ../.. && - rm -rf kcov-master && - cargo clean && - mkdir -p target/cov && - kcov --exclude-pattern=/.cargo,/usr/lib --verify target/cov cargo test --all && - bash <(curl -s https://codecov.io/bash) && - echo "Uploaded code coverage" +cache: cargo +matrix: + include: + - rust: nightly-2018-01-13 + env: + - CLIPPY_VERSION=0.0.179 + before_script: + - rustup component add rustfmt-preview + - cargo install clippy --version $CLIPPY_VERSION || echo "clippy already installed" + script: + - cargo test --all-features |