2019-03-06 23:50:10 +09:00
|
|
|
language: rust
|
|
|
|
sudo: false
|
|
|
|
|
|
|
|
cache: cargo
|
|
|
|
|
2019-03-07 14:40:02 +09:00
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|
|
|
|
- /^test-.*$/
|
|
|
|
|
2019-03-06 23:50:10 +09:00
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- rust: stable
|
2019-03-28 18:39:59 +09:00
|
|
|
os: linux
|
2019-03-06 23:50:10 +09:00
|
|
|
env: RUST_BACKTRACE=1
|
|
|
|
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
|
|
|
|
- cd wasm
|
|
|
|
- wasm-pack build
|
2019-03-28 18:39:59 +09:00
|
|
|
- rust: stable
|
|
|
|
os: osx
|
|
|
|
env: RUST_BACKTRACE=1
|
|
|
|
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
|
|
|
|
- cd wasm
|
|
|
|
- wasm-pack build
|
|
|
|
- language: node_js
|
|
|
|
os: linux
|
|
|
|
node_js:
|
|
|
|
- 'node'
|
|
|
|
- '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"
|
|
|
|
- cd nodejs
|
|
|
|
- node -v
|
|
|
|
- npm -v
|
|
|
|
- npm install
|
|
|
|
script:
|
|
|
|
- npm test
|
2019-03-14 22:30:42 +09:00
|
|
|
- language: node_js
|
2019-03-28 18:39:59 +09:00
|
|
|
os: osx
|
2019-03-17 18:35:54 +09:00
|
|
|
node_js:
|
|
|
|
- 'node'
|
|
|
|
- '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"
|
|
|
|
- cd nodejs
|
|
|
|
- node -v
|
|
|
|
- npm -v
|
|
|
|
- npm install
|
|
|
|
script:
|
|
|
|
- npm test
|