@ -0,0 +1,34 @@
stages:
- test
- build
tests:
image: rust:1.28.0-jessie
stage: test
script:
- cargo test
tags:
- docker
debug:
stage: build
- cargo build
artifacts:
paths:
- target/debug/ddns
release:
- cargo build --release
- strip target/release/ddns
- target/release/ddns