mirror of
https://github.com/guillaume-be/rust-bert.git
synced 2024-10-26 22:19:05 +03:00
21 lines
532 B
YAML
21 lines
532 B
YAML
language: rust
|
|
dist: bionic
|
|
|
|
jobs:
|
|
include:
|
|
- before_script:
|
|
- rustup component add rustfmt
|
|
script:
|
|
- cargo fmt -- --check
|
|
- script:
|
|
- cargo build --verbose
|
|
- script:
|
|
- sudo apt-get install python3-pip python3-setuptools
|
|
- pip3 install --upgrade pip
|
|
- pip3 install -r requirements.txt --progress-bar off
|
|
- python3 ./utils/download-dependencies_distilbert.py
|
|
- before_script:
|
|
- cargo run --example download_all_dependencies
|
|
script:
|
|
- cargo test
|