Browse Source

adding gitlab ci configuration

master
Drew Short 6 years ago
parent
commit
ceab25642d
  1. 34
      .gitlab-ci.yml

34
.gitlab-ci.yml

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