freechat/.gitlab-ci.yml

25 lines
309 B
YAML

image: shockrah/freechat:0.1
debug-build:
stage: build
only:
- testing
script:
- cd server/
- cargo build
- diesel setup --database-url $DATABASE_URL
basic-test:
stage: test
only:
- testing
script:
- cd server/
- cargo run --release
- fc_id=$!
- bash ./tests/main.sh body
- kill ${fc_id}