jsonpath/.travis.yml

82 lines
2.2 KiB
YAML
Raw Normal View History

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
os: linux
2019-03-06 23:50:10 +09:00
env: RUST_BACKTRACE=1
2019-04-10 17:12:45 +09:00
addons:
chrome: stable
2019-03-06 23:50:10 +09:00
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-04-11 10:30:16 +09:00
- wasm-pack test --chrome --headless
- rust: stable
os: osx
env: RUST_BACKTRACE=1
2019-04-10 17:12:45 +09:00
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
- cd wasm
- wasm-pack build
2019-04-11 10:30:16 +09:00
- wasm-pack test --chrome --headless
- 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"
2019-05-07 00:02:27 +09:00
- npm install -g neon-cli
- cd nodejs
- node -v
- npm -v
- npm install
script:
- npm test
2019-03-14 22:30:42 +09:00
- language: node_js
os: osx
2019-03-17 18:35:54 +09:00
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"
2019-05-07 00:02:27 +09:00
- npm install -g neon-cli
2019-03-17 18:35:54 +09:00
- cd nodejs
- node -v
- npm -v
- npm install
script:
- npm test