rust-bert/.travis.yml

22 lines
602 B
YAML
Raw Normal View History

2020-02-16 13:37:08 +03:00
language: rust
2020-04-05 13:42:41 +03:00
dist: bionic
2020-02-16 13:37:08 +03:00
jobs:
include:
2020-06-23 18:02:53 +03:00
- before_script:
- rustup toolchain install nightly
- rustup component add rustfmt --toolchain nightly
2020-06-23 18:02:53 +03:00
script:
- cargo +nightly fmt -- --check
2020-02-16 13:37:08 +03:00
- script:
- cargo build --verbose
2020-04-26 11:54:56 +03:00
- script:
2020-02-16 13:37:08 +03:00
- sudo apt-get install python3-pip python3-setuptools
- pip3 install --upgrade pip
- pip3 install -r requirements.txt --progress-bar off
2020-04-26 11:54:56 +03:00
- python3 ./utils/download-dependencies_distilbert.py
- before_script:
- cargo run --example download_all_dependencies
2020-02-16 13:37:08 +03:00
script:
- cargo test