File tree Expand file tree Collapse file tree 3 files changed +16
-0
lines changed Expand file tree Collapse file tree 3 files changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -3,3 +3,5 @@ node_modules/
33** /* .rs.bk
44Cargo.lock
55.idea
6+ scripts /*
7+ ! scripts /* .sh
Original file line number Diff line number Diff line change @@ -9,10 +9,15 @@ before_script:
99 - sudo apt-get install -y nodejs
1010 - npm i -g prettier
1111 - if [ "$TRAVIS_RUST_VERSION" = "stable" ]; then (rustup component add rustfmt-preview clippy-preview) fi
12+ - if [ "$TRAVIS_RUST_VERSION" = "stable" ]; then (rustup target add wasm32-unknown-unknown) fi
13+ - if [ "$TRAVIS_RUST_VERSION" = "stable" ]; then (cargo install -f wasm-bindgen-cli) fi
14+ - if [ "$TRAVIS_RUST_VERSION" = "stable" ]; then (sudo apt-get install -y firefox) fi
15+ - if [ "$TRAVIS_RUST_VERSION" = "stable" ]; then (./scripts/install_geckodriver.sh) fi
1216script :
1317 - if [ "$TRAVIS_RUST_VERSION" = "stable" ]; then (cargo fmt --all -- --check) fi
1418 - if [ "$TRAVIS_RUST_VERSION" = "stable" ]; then (cargo clippy -- -D warnings) fi
1519 - prettier --debug-check -l './**/*.json' './**/*.graphql'
1620 - cargo test --all
1721 - cargo build --manifest-path=./graphql_client/examples/github/Cargo.toml
1822 - cargo build --manifest-path=./graphql_client_cli/Cargo.toml
23+ - if [ "$TRAVIS_RUST_VERSION" = "stable" ]; then (cd graphql_client_web && cargo test --target wasm32-unknown-unknown) fi
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ # This script is meant for CI only.
4+
5+ set -ex
6+
7+ wget https://github.com/mozilla/geckodriver/releases/download/v0.23.0/geckodriver-v0.23.0-linux64.tar.gz
8+ tar xzf geckodriver-v0.23.0-linux64.tar.gz
9+ mv geckodriver /usr/local/bin/
You can’t perform that action at this time.
0 commit comments