Diff
Not logged in

Differences From Artifact [8ccce5b890]:

To Artifact [fdb29ff330]:


     1      1   env:
     2      2     global:
     3      3       - RUST_BACKTRACE=1
     4      4       - PATH=$PATH:$HOME/.cargo/bin
     5         -branches:
     6         -  only:
     7         -    - master
     8         -    - stable
     9      5   os:
    10      6     - linux
    11      7     - osx
    12      8   language: rust
    13      9   rust:
    14         -  - 1.14.0
    15         -  - nightly-2016-12-19
           10  +  - 1.16.0
           11  +  - nightly-2017-03-16
    16     12   sudo: false
           13  +branches:
           14  +  only:
           15  +    - master
           16  +    - stable
    17     17   cache:
    18     18     cargo: true
    19     19   before_script:
    20     20     - (which cargo-install-update && cargo install-update cargo-update) || cargo install cargo-update
    21     21     - (which cargo-prune && cargo install-update cargo-prune) || cargo install cargo-prune
    22         -  - if [ "${TRAVIS_RUST_VERSION}" = 1.14.0 ]; then
    23         -      rustfmt_vers=0.7.0;
    24         -      if ! cargo fmt -- --version | grep -q $rustfmt_vers; then
    25         -        cargo install rustfmt --vers==$rustfmt_vers --force;
    26         -      fi
           22  +  - if [ "${TRAVIS_RUST_VERSION}" = 1.16.0 ]; then
           23  +      (which rustfmt && cargo install-update rustfmt) || cargo install rustfmt;
    27     24       elif [ "${TRAVIS_OS_NAME}" = linux ]; then
    28         -      clippy_vers=0.0.104;
           25  +      clippy_vers=0.0.120;
    29     26         if ! cargo clippy --version | grep -q $clippy_vers; then
    30     27           cargo install clippy --vers=$clippy_vers --force;
    31     28         fi
    32     29       fi
    33     30   script:
    34         -  - if [ "${TRAVIS_RUST_VERSION}" = 1.14.0 ]; then
           31  +  - if [ "${TRAVIS_RUST_VERSION}" = 1.16.0 ]; then
    35     32         (
    36     33           set -x;
    37     34           cargo fmt -- --write-mode=diff &&
    38     35           cargo rustc --verbose -- --test -Zno-trans &&
    39     36           cargo rustc --verbose --example ci_test -- -Zno-trans &&
    40     37           cargo rustc --verbose --example key_value_store -- -Zno-trans &&
    41     38           cargo rustc --verbose -- -Zno-trans &&
................................................................................
    47     44           cargo clippy &&
    48     45           cargo clippy --features=use-mock-crust &&
    49     46           cargo clippy --profile=test &&
    50     47           cargo clippy --profile=test --features=use-mock-crust
    51     48         );
    52     49       fi
    53     50   before_cache:
    54         - - cargo prune
           51  +  - cargo prune