author | Alberto Bertogli
<albertito@blitiri.com.ar> 2021-10-25 11:49:04 UTC |
committer | Alberto Bertogli
<albertito@blitiri.com.ar> 2021-10-25 12:15:22 UTC |
parent | e5b1abe3b5dc235b083953e8fba01a0acf53e484 |
.gitlab-ci.yml | +17 | -0 |
.travis.yml | +0 | -23 |
README.md | +1 | -1 |
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..5a25083 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,17 @@ +# GitLab CI configuration. + +.golang_template: &golang + script: + - make test + +golang_1.15: + <<: *golang + # This image doesn't have Python 3 by default. + before_script: + - apt update + - apt install -y python3 + image: golang:1.15 # Version in Debian stable. + +golang_latest: + <<: *golang + image: golang:latest diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index fc16647..0000000 --- a/.travis.yml +++ /dev/null @@ -1,23 +0,0 @@ -# Configuration for https://travis-ci.org/ - -dist: bionic - -language: go -go_import_path: blitiri.com.ar/go/kxd - -go: - - 1.11 # Debian stable. - - stable - - master - -addons: - apt: - packages: - - python3 - -# Nothing to do for install, the tests will build the binaries anyway. -install: true - -script: - - make test - diff --git a/README.md b/README.md index bcc2e5a..5b2f040 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ It can be used to get keys remotely instead of using local storage. The main use case is to get keys to open dm-crypt devices automatically, without having to store them on the local machine. -[![Travis-CI build status](https://travis-ci.org/albertito/kxd.svg?branch=master)](https://travis-ci.org/albertito/kxd) +[![Gitlab CI status](https://gitlab.com/albertito/kxd/badges/master/pipeline.svg)](https://gitlab.com/albertito/kxd/pipelines) ## Quick start