diff options
author | Daniel Schadt <kingdread@gmx.de> | 2020-04-29 17:00:56 +0200 |
---|---|---|
committer | Daniel Schadt <kingdread@gmx.de> | 2020-04-29 17:00:56 +0200 |
commit | f0e363e15374cc518cdbf3dcec1a94bd5f4db35b (patch) | |
tree | 8c86db2960ab2ce2cc105534e7ff98be5c52f6e5 /.gitlab-ci.yml | |
parent | 6288027ab8b5e17c9dee30e97042198cfe666466 (diff) | |
download | evtclib-f0e363e15374cc518cdbf3dcec1a94bd5f4db35b.tar.gz evtclib-f0e363e15374cc518cdbf3dcec1a94bd5f4db35b.tar.bz2 evtclib-f0e363e15374cc518cdbf3dcec1a94bd5f4db35b.zip |
enable gitlab CI
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..88cdb4e --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,17 @@ +image: "rust" + +tests: + script: + - cargo test + +format: + before_script: + - rustup component add rustfmt + script: + - cargo fmt -- --check + +clippy: + before_script: + - rustup component add clippy + script: + - cargo clippy |