4 Commits

Author SHA1 Message Date
Raum0x2A
e078afbbe5 Merge branch 'develop' of gitlab.com:Raum0x2A/nmslib into develop 2021-05-30 08:03:19 -06:00
Raum0x2A
511331008e Minor changes 2021-05-30 08:02:55 -06:00
Raum0x2A
6fbbe0b23c Update .gitlab-ci.yml file 2021-05-26 23:31:53 +00:00
Raum0x2A
b24a16edad Update .gitlab-ci.yml 2021-05-26 23:22:26 +00:00
3 changed files with 27 additions and 6 deletions

1
.gitignore vendored
View File

@@ -3,3 +3,4 @@ assets/
notes.txt
Test.png
test.png
coverage.txt

View File

@@ -1,11 +1,30 @@
# This file is a template, and might need editing before it works on your project.
image: golang:latest
include:
- template: Security/License-Scanning.gitlab-ci.yml
variables:
# Please edit to your GitLab project
REPO_NAME: gitlab.com/Raum0x2A/nmslib
# The problem is that to be able to use go get, one needs to put
# the repository in the $GOPATH. So for example if your gitlab domain
# is gitlab.com, and that your repository is namespace/project, and
# the default GOPATH being /go, then you'd need to have your
# repository in /go/src/gitlab.com/namespace/project
# Thus, making a symbolic link corrects this.
before_script:
- mkdir -p $GOPATH/src/$(dirname $REPO_NAME)
- ln -svf $CI_PROJECT_DIR $GOPATH/src/$REPO_NAME
- cd $GOPATH/src/$REPO_NAME
stages:
- test
test:
format:
stage: test
image: golang:1.16.3
script:
- go fmt $(go list ./...)
- go vet $(go list ./...)
- go test
only:
- master
- develop

View File

@@ -5,6 +5,7 @@
[![](https://img.shields.io/gitlab/pipeline/Raum0x2A/nmslib/master?label=Master&logo=go)](https://gitlab.com/Raum0x2A/nmslib)
[![](https://img.shields.io/gitlab/pipeline/Raum0x2A/nmslib/develop?label=Develop&logo=go)](https://gitlab.com/Raum0x2A/nmslib/-/tree/develop)
[![](https://img.shields.io/badge/Release-v1.0.1-blue?style=flat&logo=go)](https://gitlab.com/Raum0x2A/nmslib/-/releases/v1.0.1)
[![Go Report Card](https://goreportcard.com/badge/gitlab.com/Raum0x2A/nmslib)](https://goreportcard.com/report/gitlab.com/Raum0x2A/nmslib)
NMSlib is a GoLang package for dealing with converting Galactic coordinates to Portal codes and vice versa.