language: rust
cache: cargo
sudo: false

rust:
  - stable
  - nightly

os:
  - linux

dist: trusty

script:
  - cargo build --release --verbose
  
language: rust
sudo: false
cache:
  - directories:
    - $TRAVIS_BUILD_DIR/target
    - $HOME/.cargo

rust:
  - stable
  - nightly

os:
  - linux

dist: trusty

script:
  - cargo build --release --verbose
  
Change way of caching project build and cargo exes
Change way of caching project build and cargo exes
