mirror of
https://github.com/yewstack/yew.git
synced 2025-12-08 21:26:25 +00:00
* Handle text messages properly in web-sys websocket service * Enable sudo mode to avoid chrome issues * nudge * nudge * firefox * nudge * nudge
43 lines
912 B
YAML
43 lines
912 B
YAML
branches:
|
|
only:
|
|
- staging
|
|
- trying
|
|
- master
|
|
|
|
dist: trusty
|
|
language: rust
|
|
sudo: false
|
|
addons:
|
|
firefox: latest
|
|
|
|
cache: cargo
|
|
before_cache:
|
|
- ./ci/clear_cache.sh
|
|
|
|
rust:
|
|
- 1.39.0 # min supported
|
|
- stable
|
|
- beta
|
|
|
|
matrix:
|
|
allow_failures:
|
|
- rust: beta
|
|
fast_finish: true
|
|
|
|
install:
|
|
- nvm install 9
|
|
- rustup component add rustfmt
|
|
- rustup component add clippy
|
|
- rustup target add wasm32-unknown-unknown
|
|
- cargo install cargo-update || true
|
|
- cargo install-update-config --version =0.2.59 wasm-bindgen-cli
|
|
- cargo install-update --allow-no-update wasm-bindgen-cli
|
|
- curl --retry 5 -LO https://github.com/mozilla/geckodriver/releases/download/v0.26.0/geckodriver-v0.26.0-linux64.tar.gz
|
|
- tar -xzf geckodriver-v0.26.0-linux64.tar.gz
|
|
- ./ci/install_cargo_web.sh
|
|
|
|
script:
|
|
- ./ci/run_checks.sh
|
|
- GECKODRIVER=$(pwd)/geckodriver ./ci/run_tests.sh
|
|
- ./ci/check_examples.sh
|