on master help sign in
Add initial CI config
commitc1c6241063d9920790c5aafed0a760326133a0c9 authorNick Fitzgerald <fitzgen@gmail.com> dateFri 11 Jan 2019, 13:43 (8 years ago) parent67374b4
1 file changed+30
.travis.yml+30
.travis.ymlnew file+30
@@ -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