language: rust sudo: false cache: cargo branches: only: - master - /^test-.*$/ matrix: include: - rust: stable os: linux env: RUST_BACKTRACE=1 addons: chrome: stable before_script: - (test -x $HOME/.cargo/bin/cargo-install-update || cargo install cargo-update) - (test -x $HOME/.cargo/bin/cargo-generate || cargo install --vers "^0.2" cargo-generate) - cargo install-update -a - curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh -s -- -f script: - cargo build --verbose --all - cargo test --verbose --all - rust: stable os: osx env: RUST_BACKTRACE=1 addons: chrome: stable before_script: - (test -x $HOME/.cargo/bin/cargo-install-update || cargo install cargo-update) - (test -x $HOME/.cargo/bin/cargo-generate || cargo install --vers "^0.2" cargo-generate) - cargo install-update -a - curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh -s -- -f script: - cargo build --verbose --all - cargo test --verbose --all # - 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" # - npm install -g neon-cli # - cd nodejs # - node -v # - npm -v # - npm install # script: # - npm test # - 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" # - npm install -g neon-cli # - cd nodejs # - node -v # - npm -v # - npm install # script: # - npm test