mirror of
https://github.com/OMGeeky/yup-oauth2.git
synced 2026-02-23 15:50:00 +01:00
Only run example tests on a single Travis config
This commit is contained in:
10
.travis.yml
10
.travis.yml
@@ -22,6 +22,7 @@ rust:
|
||||
|
||||
stages:
|
||||
- name: test
|
||||
- name: examples
|
||||
- name: lint
|
||||
- name: coverage
|
||||
|
||||
@@ -31,8 +32,6 @@ install: true
|
||||
script:
|
||||
- cargo build
|
||||
- cargo test
|
||||
- cargo build --manifest-path examples/drive_example/Cargo.toml
|
||||
- cargo build --manifest-path examples/service_account/Cargo.toml
|
||||
- cargo test --no-default-features --features no-openssl
|
||||
|
||||
jobs:
|
||||
@@ -47,6 +46,13 @@ jobs:
|
||||
- cargo fmt --all -- --check
|
||||
- cargo clippy --all-targets --all-features -- -D warnings || true
|
||||
|
||||
- stage: examples
|
||||
if: os = linux
|
||||
rust: stable
|
||||
script:
|
||||
- cargo build --manifest-path examples/drive_example/Cargo.toml
|
||||
- cargo build --manifest-path examples/service_account/Cargo.toml
|
||||
|
||||
- stage: coverage
|
||||
if: os = linux
|
||||
sudo: true
|
||||
|
||||
Reference in New Issue
Block a user