File tree Expand file tree Collapse file tree 1 file changed +6
-12
lines changed Expand file tree Collapse file tree 1 file changed +6
-12
lines changed Original file line number Diff line number Diff line change 3
3
build :
4
4
machine :
5
5
image : ubuntu-1604:201903-01
6
- # environment:
7
- # BASH_ENV: /home/circleci/.bashrc
6
+ environment :
7
+ GOROOT=/usr/lib/go-1.13
8
8
steps :
9
9
- run : env | sort && touch $BASH_ENV
10
10
- checkout
@@ -15,16 +15,10 @@ jobs:
15
15
- run :
16
16
name : Install latest golang
17
17
command : sudo apt-get install -y golang-go
18
- - run :
19
- name : Reconfigure golang
20
- command : echo "export GOROOT=/usr/lib/go-1.13" >> $BASH_ENV && echo "export PATH=$GOROOT/bin:$PATH" >> $BASH_ENV
21
- # - run: echo $PATH && which go
22
- # - run: export GOROOT=/usr/lib/go-1.13 && export PATH=$GOROOT/bin:$PATH && echo $PATH && which go
23
- - run : go version || true
24
- - run : systemd --version || true
25
- - run : go env || true
26
- # - run: go get || true
27
- # - run: go build || true
18
+ - run :
19
+ run : go version && go env
20
+ command : PATH=$GOROOT/bin:$PATH go version && go env
21
+ - run : systemd --version
28
22
- run : go test -coverprofile=full_coverage.out
29
23
- store_artifacts :
30
24
path : full_coverage.out
You can’t perform that action at this time.
0 commit comments