From cc32d620bb8b9a51a0f446fb470718a639250525 Mon Sep 17 00:00:00 2001 From: John C Barstow Date: Wed, 6 Jun 2018 04:38:16 +0000 Subject: [PATCH 1/4] Add .gitlab-ci.yml --- .gitlab-ci.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..adfe267 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,10 @@ +image: elixir:latest + +before_script: + - mix local.rebar --force + - mix local.hex --force + - mix deps.get + +mix: + script: + - mix test From d362f77ae9cd9a3cbdb733354e15537a974ba308 Mon Sep 17 00:00:00 2001 From: John C Barstow Date: Wed, 6 Jun 2018 04:40:41 +0000 Subject: [PATCH 2/4] Update README.md with GitLab badge --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8636784..87a9e45 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # UnicodeData -[![Build Status](https://travis-ci.org/jbowtie/unicode_data.svg?branch=master)](https://travis-ci.org/jbowtie/unicode_data) +[![pipeline status](https://gitlab.com/jbowtie/unicode_data/badges/master/pipeline.svg)](https://gitlab.com/jbowtie/unicode_data/commits/master) [![codecov](https://codecov.io/gh/jbowtie/unicode_data/branch/master/graph/badge.svg)](https://codecov.io/gh/jbowtie/unicode_data) [![Inline docs](http://inch-ci.org/github/jbowtie/unicode_data.svg)](http://inch-ci.org/github/jbowtie/unicode_data) [![Hex Version](https://img.shields.io/hexpm/v/unicode_data.svg)](https://hex.pm/packages/unicode_data) From 9f221854953918827e8447c568c939a555c02e6d Mon Sep 17 00:00:00 2001 From: John C Barstow Date: Wed, 6 Jun 2018 04:45:50 +0000 Subject: [PATCH 3/4] Update .gitlab-ci.yml to run coverage --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index adfe267..6ec7a7c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -7,4 +7,4 @@ before_script: mix: script: - - mix test + - mix coveralls From c6b228f2a87547fd000d1d0c16b6b3a3d3f4ec5c Mon Sep 17 00:00:00 2001 From: John C Barstow Date: Wed, 6 Jun 2018 04:50:11 +0000 Subject: [PATCH 4/4] Update README.md with GitLab code coverage --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 87a9e45..71b4242 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # UnicodeData [![pipeline status](https://gitlab.com/jbowtie/unicode_data/badges/master/pipeline.svg)](https://gitlab.com/jbowtie/unicode_data/commits/master) -[![codecov](https://codecov.io/gh/jbowtie/unicode_data/branch/master/graph/badge.svg)](https://codecov.io/gh/jbowtie/unicode_data) +[![coverage report](https://gitlab.com/jbowtie/unicode_data/badges/master/coverage.svg)](https://gitlab.com/jbowtie/unicode_data/commits/master) [![Inline docs](http://inch-ci.org/github/jbowtie/unicode_data.svg)](http://inch-ci.org/github/jbowtie/unicode_data) [![Hex Version](https://img.shields.io/hexpm/v/unicode_data.svg)](https://hex.pm/packages/unicode_data)