branches:
only:
- staging
- trying
- master
language: rust
dist: trusty
sudo: false
addons:
chrome: stable
cache:
cargo: true
directories:
- /home/travis/.local/share/cargo-web/emscripten
rust:
- nightly
- stable
- beta
matrix:
allow_failures:
- rust: nightly
script:
- nvm install 9
- ./ci/install_cargo_web.sh
- ./ci/run_tests.sh