diff --git a/.travis.yml b/.travis.yml index 38dbe91..efdaf02 100644 --- a/.travis.yml +++ b/.travis.yml @@ -79,4 +79,40 @@ matrix: - npm -v - npm install script: - - npm test \ No newline at end of file + - npm test + - language: node_js + os: linux + node_js: + - '11' + - '10' + - '9' + - '8' + before_install: + - curl https://sh.rustup.rs -sSf > /tmp/rustup.sh + - sh /tmp/rustup.sh -y + - export PATH="$HOME/.cargo/bin:$PATH" + - source "$HOME/.cargo/env" + - node -v + - npm -v + before_script: + - curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh -s -- -f + script: + - bash ./build-wasm.sh + - language: node_js + os: osx + node_js: + - '11' + - '10' + - '9' + - '8' + before_install: + - curl https://sh.rustup.rs -sSf > /tmp/rustup.sh + - sh /tmp/rustup.sh -y + - export PATH="$HOME/.cargo/bin:$PATH" + - source "$HOME/.cargo/env" + - node -v + - npm -v + before_script: + - curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh -s -- -f + script: + - bash ./build-wasm.sh \ No newline at end of file