freechat/.gitlab-ci.yml
2020-08-06 20:28:05 -07:00

26 lines
313 B
YAML

image: shockrah/freechat:0.3
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 -- -s&
- fc_id=$!
- cd tests/
- bash ./main.sh body
- kill ${fc_id}