@@ -0,0 +1,30 @@
1+language: rust
2+sudo: false
3+
4+INSTALL_NODE_VIA_NVM: &INSTALL_NODE_VIA_NVM
5+ |
6+ rustup target add wasm32-unknown-unknown
7+ curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.8/install.sh | bash
8+ source ~/.nvm/nvm.sh
9+ nvm install v10.5
10+
11+INSTALL_WASM_PPACK: &INSTALL_WASM_PACK
12+ - curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh -s -- -f
13+
14+install:
15+ - *INSTALL_NODE_VIA_NVM
16+ - *INSTALL_WASM_PACK
17+ - rustup target add wasm32-unknown-unknown
18+ - rustup component add rustfmt
19+
20+script:
21+ - INSTALL=1 ./build.sh
22+
23+matrix:
24+ include:
25+ - name: "build (stable)"
26+ rust: stable
27+ - name: "build (beta)"
28+ rust: beta
29+ - name: "build (nightly)"
30+ rust: nightly