rusty-hub/.circleci/config.yml

25 lines
480 B
YAML
Raw Normal View History

2019-06-30 22:30:54 +02:00
version: 2
jobs:
test:
docker:
- image: circleci/rust:1.35-stretch
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