File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 1
- language : rust
1
+ language : rust, node_js
2
2
rust :
3
3
- stable
4
4
- beta
5
5
- nightly
6
+ node_js :
7
+ - " lts/*"
8
+ - " 8"
6
9
cache : cargo
7
10
before_script :
8
- - sudo apt-get update
9
- - sudo apt-get install -y nodejs
10
11
- npm i -g prettier
11
12
- if [ "$TRAVIS_RUST_VERSION" = "stable" ]; then (rustup component add rustfmt-preview clippy-preview) fi
12
13
script :
13
14
- if [ "$TRAVIS_RUST_VERSION" = "stable" ]; then (cargo fmt --all -- --check) fi
14
15
- if [ "$TRAVIS_RUST_VERSION" = "stable" ]; then (cargo clippy) fi
15
- - prettier --debug-check -l './**/*.json'
16
+ - prettier --debug-check -l './**/*.json' './**/*.graphql'
16
17
- cargo test --all
17
18
- cargo build --manifest-path=./graphql_client/examples/github/Cargo.toml
18
19
- cargo build --manifest-path=./graphql_client_cli/Cargo.toml
You can’t perform that action at this time.
0 commit comments