rusty-hub/.circleci/config.yml

25 lines
480 B
YAML
Raw Permalink Normal View History

2019-06-30 22:30:54 +02:00
version: 2
jobs:
test:
docker:
2019-12-31 20:18:57 +01:00
- image: circleci/rust:1.40-stretch
2019-06-30 22:30:54 +02:00
working_directory: ~/repo
steps:
- checkout
- run:
name: install dependencies
command: |
cargo build
cargo install diesel_cli
2019-07-07 23:58:28 +02:00
diesel migration run --database-url=test.db
2019-06-30 22:30:54 +02:00
- run:
name: run test suite
command: |
cargo test
workflows:
version: 2
format_and_test:
jobs:
- test