|
@@ -19,7 +19,7 @@ Build:
|
|
|
script:
|
|
script:
|
|
|
- mkdir -p $GOPATH/src/gitote
|
|
- mkdir -p $GOPATH/src/gitote
|
|
|
- cd $GOPATH/src/gitote
|
|
- cd $GOPATH/src/gitote
|
|
|
- - git clone https://gitlab.com/$CI_PROJECT_PATH.git gitote
|
|
|
|
|
|
|
+ - git clone https://gitote.in/gitote/gitote.git gitote
|
|
|
- cd gitote
|
|
- cd gitote
|
|
|
- make build
|
|
- make build
|
|
|
|
|
|
|
@@ -29,7 +29,7 @@ Build Dev:
|
|
|
script:
|
|
script:
|
|
|
- mkdir -p $GOPATH/src/gitote
|
|
- mkdir -p $GOPATH/src/gitote
|
|
|
- cd $GOPATH/src/gitote
|
|
- cd $GOPATH/src/gitote
|
|
|
- - git clone https://gitlab.com/$CI_PROJECT_PATH.git gitote
|
|
|
|
|
|
|
+ - git clone https://gitote.in/gitote/gitote.git gitote
|
|
|
- cd gitote
|
|
- cd gitote
|
|
|
- make build-dev
|
|
- make build-dev
|
|
|
|
|
|
|
@@ -42,7 +42,7 @@ Build Dev Race:
|
|
|
script:
|
|
script:
|
|
|
- mkdir -p $GOPATH/src/gitote
|
|
- mkdir -p $GOPATH/src/gitote
|
|
|
- cd $GOPATH/src/gitote
|
|
- cd $GOPATH/src/gitote
|
|
|
- - git clone https://gitlab.com/$CI_PROJECT_PATH.git gitote
|
|
|
|
|
|
|
+ - git clone https://gitote.in/gitote/gitote.git gitote
|
|
|
- cd gitote
|
|
- cd gitote
|
|
|
- make build-dev-race
|
|
- make build-dev-race
|
|
|
|
|
|
|
@@ -55,7 +55,7 @@ Build Prod:
|
|
|
script:
|
|
script:
|
|
|
- mkdir -p $GOPATH/src/gitote
|
|
- mkdir -p $GOPATH/src/gitote
|
|
|
- cd $GOPATH/src/gitote
|
|
- cd $GOPATH/src/gitote
|
|
|
- - git clone https://gitlab.com/$CI_PROJECT_PATH.git gitote
|
|
|
|
|
|
|
+ - git clone https://gitote.in/gitote/gitote.git gitote
|
|
|
- cd gitote
|
|
- cd gitote
|
|
|
- wget https://gitlab.com/gitote/bindata/raw/master/go-bindata
|
|
- wget https://gitlab.com/gitote/bindata/raw/master/go-bindata
|
|
|
- make bindata
|
|
- make bindata
|
|
@@ -67,7 +67,7 @@ Compile LESS:
|
|
|
script:
|
|
script:
|
|
|
- mkdir -p $GOPATH/src/gitote
|
|
- mkdir -p $GOPATH/src/gitote
|
|
|
- cd $GOPATH/src/gitote
|
|
- cd $GOPATH/src/gitote
|
|
|
- - git clone https://gitlab.com/$CI_PROJECT_PATH.git gitote
|
|
|
|
|
|
|
+ - git clone https://gitote.in/gitote/gitote.git gitote
|
|
|
- cd gitote
|
|
- cd gitote
|
|
|
- make less
|
|
- make less
|
|
|
|
|
|
|
@@ -77,7 +77,7 @@ Bindata:
|
|
|
script:
|
|
script:
|
|
|
- mkdir -p $GOPATH/src/gitote
|
|
- mkdir -p $GOPATH/src/gitote
|
|
|
- cd $GOPATH/src/gitote
|
|
- cd $GOPATH/src/gitote
|
|
|
- - git clone https://gitlab.com/$CI_PROJECT_PATH.git gitote
|
|
|
|
|
|
|
+ - git clone https://gitote.in/gitote/gitote.git gitote
|
|
|
- cd gitote
|
|
- cd gitote
|
|
|
- wget https://gitlab.com/gitote/bindata/raw/master/go-bindata
|
|
- wget https://gitlab.com/gitote/bindata/raw/master/go-bindata
|
|
|
- make bindata
|
|
- make bindata
|
|
@@ -91,7 +91,7 @@ Test:
|
|
|
script:
|
|
script:
|
|
|
- mkdir -p $GOPATH/src/gitote
|
|
- mkdir -p $GOPATH/src/gitote
|
|
|
- cd $GOPATH/src/gitote
|
|
- cd $GOPATH/src/gitote
|
|
|
- - git clone https://gitlab.com/$CI_PROJECT_PATH.git gitote
|
|
|
|
|
|
|
+ - git clone https://gitote.in/gitote/gitote.git gitote
|
|
|
- cd gitote
|
|
- cd gitote
|
|
|
- go test -v -cover -race ./...
|
|
- go test -v -cover -race ./...
|
|
|
|
|
|
|
@@ -101,7 +101,7 @@ Go LOC:
|
|
|
script:
|
|
script:
|
|
|
- mkdir -p $GOPATH/src/gitote
|
|
- mkdir -p $GOPATH/src/gitote
|
|
|
- cd $GOPATH/src/gitote
|
|
- cd $GOPATH/src/gitote
|
|
|
- - git clone https://gitlab.com/$CI_PROJECT_PATH.git gitote
|
|
|
|
|
|
|
+ - git clone https://gitote.in/gitote/gitote.git gitote
|
|
|
- cd gitote
|
|
- cd gitote
|
|
|
- go get -u github.com/hhatto/gocloc/cmd/gocloc
|
|
- go get -u github.com/hhatto/gocloc/cmd/gocloc
|
|
|
- gocloc .
|
|
- gocloc .
|
|
@@ -112,7 +112,7 @@ Clean:
|
|
|
script:
|
|
script:
|
|
|
- mkdir -p $GOPATH/src/gitote
|
|
- mkdir -p $GOPATH/src/gitote
|
|
|
- cd $GOPATH/src/gitote
|
|
- cd $GOPATH/src/gitote
|
|
|
- - git clone https://gitlab.com/$CI_PROJECT_PATH.git gitote
|
|
|
|
|
|
|
+ - git clone https://gitote.in/gitote/gitote.git gitote
|
|
|
- cd gitote
|
|
- cd gitote
|
|
|
- make clean
|
|
- make clean
|
|
|
|
|
|
|
@@ -122,7 +122,7 @@ Admin:
|
|
|
script:
|
|
script:
|
|
|
- mkdir -p $GOPATH/src/gitote
|
|
- mkdir -p $GOPATH/src/gitote
|
|
|
- cd $GOPATH/src/gitote
|
|
- cd $GOPATH/src/gitote
|
|
|
- - git clone https://gitlab.com/$CI_PROJECT_PATH.git gitote
|
|
|
|
|
|
|
+ - git clone https://gitote.in/gitote/gitote.git gitote
|
|
|
- cd gitote
|
|
- cd gitote
|
|
|
- go build
|
|
- go build
|
|
|
- ./gitote admin
|
|
- ./gitote admin
|
|
@@ -133,7 +133,7 @@ Hook:
|
|
|
script:
|
|
script:
|
|
|
- mkdir -p $GOPATH/src/gitote
|
|
- mkdir -p $GOPATH/src/gitote
|
|
|
- cd $GOPATH/src/gitote
|
|
- cd $GOPATH/src/gitote
|
|
|
- - git clone https://gitlab.com/$CI_PROJECT_PATH.git gitote
|
|
|
|
|
|
|
+ - git clone https://gitote.in/gitote/gitote.git gitote
|
|
|
- cd gitote
|
|
- cd gitote
|
|
|
- go build
|
|
- go build
|
|
|
- ./gitote hook
|
|
- ./gitote hook
|
|
@@ -144,7 +144,7 @@ Import:
|
|
|
script:
|
|
script:
|
|
|
- mkdir -p $GOPATH/src/gitote
|
|
- mkdir -p $GOPATH/src/gitote
|
|
|
- cd $GOPATH/src/gitote
|
|
- cd $GOPATH/src/gitote
|
|
|
- - git clone https://gitlab.com/$CI_PROJECT_PATH.git gitote
|
|
|
|
|
|
|
+ - git clone https://gitote.in/gitote/gitote.git gitote
|
|
|
- cd gitote
|
|
- cd gitote
|
|
|
- go build
|
|
- go build
|
|
|
- ./gitote import
|
|
- ./gitote import
|
|
@@ -155,7 +155,7 @@ Cert:
|
|
|
script:
|
|
script:
|
|
|
- mkdir -p $GOPATH/src/gitote
|
|
- mkdir -p $GOPATH/src/gitote
|
|
|
- cd $GOPATH/src/gitote
|
|
- cd $GOPATH/src/gitote
|
|
|
- - git clone https://gitlab.com/$CI_PROJECT_PATH.git gitote
|
|
|
|
|
|
|
+ - git clone https://gitote.in/gitote/gitote.git gitote
|
|
|
- cd gitote
|
|
- cd gitote
|
|
|
- go build
|
|
- go build
|
|
|
- ./gitote cert --help
|
|
- ./gitote cert --help
|
|
@@ -166,7 +166,7 @@ Serv:
|
|
|
script:
|
|
script:
|
|
|
- mkdir -p $GOPATH/src/gitote
|
|
- mkdir -p $GOPATH/src/gitote
|
|
|
- cd $GOPATH/src/gitote
|
|
- cd $GOPATH/src/gitote
|
|
|
- - git clone https://gitlab.com/$CI_PROJECT_PATH.git gitote
|
|
|
|
|
|
|
+ - git clone https://gitote.in/gitote/gitote.git gitote
|
|
|
- cd gitote
|
|
- cd gitote
|
|
|
- go build
|
|
- go build
|
|
|
- ./gitote serv --help
|
|
- ./gitote serv --help
|
|
@@ -177,7 +177,7 @@ Running:
|
|
|
script:
|
|
script:
|
|
|
- mkdir -p $GOPATH/src/gitote
|
|
- mkdir -p $GOPATH/src/gitote
|
|
|
- cd $GOPATH/src/gitote
|
|
- cd $GOPATH/src/gitote
|
|
|
- - git clone https://gitlab.com/$CI_PROJECT_PATH.git gitote
|
|
|
|
|
|
|
+ - git clone https://gitote.in/gitote/gitote.git gitote
|
|
|
- cd gitote
|
|
- cd gitote
|
|
|
- go build
|
|
- go build
|
|
|
- ./gitote web & sleep 20 ; kill $! || echo $?
|
|
- ./gitote web & sleep 20 ; kill $! || echo $?
|