Skip to content

Commit a70a1e6

Browse files
committed
Stop attempting bashrc hacks
1 parent 161855d commit a70a1e6

File tree

1 file changed

+6
-12
lines changed

1 file changed

+6
-12
lines changed

.circleci/config.yml

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ jobs:
33
build:
44
machine:
55
image: ubuntu-1604:201903-01
6-
# environment:
7-
# BASH_ENV: /home/circleci/.bashrc
6+
environment:
7+
GOROOT=/usr/lib/go-1.13
88
steps:
99
- run: env | sort && touch $BASH_ENV
1010
- checkout
@@ -15,16 +15,10 @@ jobs:
1515
- run:
1616
name: Install latest golang
1717
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
2822
- run: go test -coverprofile=full_coverage.out
2923
- store_artifacts:
3024
path: full_coverage.out

0 commit comments

Comments
 (0)