Skip to content
Snippets Groups Projects

Add Gitlab-CI for testing

Open s1829602 requested to merge gitlab-ci into master
.gitlab-ci.yml 0 → 100644
+ 25
0
image: "rust:alpine"
services:
- mysql:latest
stages:
- build
- test
variables:
MYSQL_DATABASE: test
MYSQL_ROOT_PASSWORD: test_database
DATABASE_URL: mysql://root:$MYSQL_ROOT_PASSWORD@mysql/$MYSQL_DATABASE
build:
stage: build
script:
- apk add zeromq
test:cargo:
stage: test
script:
- rustc --version && cargo --version
- cargo test --all
- cargo run -- iff
\ No newline at end of file
Loading