---
language: node_js
node_js:
- 6
cache:
directories:
- node_modules
- $HOME/.cargo
- target
install:
- curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain=stable -y
- npm i
script:
- npm run lint
- npm run test
- $HOME/.cargo/bin/cargo test