Skip to content
Snippets Groups Projects
Commit a17dfd61 authored by 邹毅贤's avatar 邹毅贤
Browse files

move checker to /tmp

parent b4df9ad6
No related branches found
No related tags found
No related merge requests found
......@@ -32,4 +32,3 @@ config_center/zookeeper/zookeeper-4unittest/
registry/zookeeper/zookeeper-4unittest/
registry/consul/agent*
config_center/apollo/mockDubbog.properties.json
tools/
......@@ -14,8 +14,8 @@ install: true
script:
- go fmt ./... && [[ -z `git status -s` ]]
- sh before_validate_license.sh
- chmod u+x tools/license/license-header-checker
- tools/license/license-header-checker -v -a -r -i vendor tools/license/license.txt . go && [[ -z `git status -s` ]]
- chmod u+x /tmp/tools/license/license-header-checker
- /tmp/tools/license/license-header-checker -v -a -r -i vendor /tmp/tools/license/license.txt . go && [[ -z `git status -s` ]]
- chmod u+x before_ut.sh && ./before_ut.sh
- go mod vendor && go test ./... -coverprofile=coverage.txt -covermode=atomic
......
......@@ -20,7 +20,7 @@ remoteLicenseCheckerURL="${remoteLicenseCheckerPath}/${remoteLicenseCheckerName}
remoteLicenseName="license.txt"
remoteLicenseURL="${remoteLicenseCheckerPath}/${remoteLicenseName}"
licensePath="tools/license"
licensePath="/tmp/tools/license"
mkdir -p ${licensePath}
wget -P "${licensePath}" ${remoteLicenseCheckerURL}
wget -P "${licensePath}" ${remoteLicenseURL}
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment