jsonpath/.travis.yml

76 lines
2.0 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
- 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
# - 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