This repository was archived by the owner on Jan 22, 2025. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2525 - run : " ! goimports ./... 2>&1 | read"
2626 - run : " ! go mod tidy ./... 2>&1 | read"
2727 - run : go get github.com/golangci/golangci-lint/cmd/golangci-lint@v1.17.1
28- - run : " ! golangci-lint 2>&1 | read"
28+ - run : " ! golangci-lint 2>&1 | read"
29+ sphinx-build :
30+ docker :
31+ - image : circleci/python:2.7.16
32+ steps :
33+ - checkout
34+ - run : sudo pip install sphinx recommonmark sphinx_rtd_theme
35+ - run : cd docs && make html
2936 publish-github-release :
3037 docker :
3138 - image : circleci/golang:1.11
@@ -44,6 +51,7 @@ workflows:
4451 - integration
4552 - unit
4653 - lint
54+ - sphinx-build
4755 - publish-github-release :
4856 requires :
4957 - integration
Original file line number Diff line number Diff line change @@ -8,6 +8,16 @@ if [ -z "$CIRCLECI" ]; then
88 go test ./... 2>&1 | grep -v ' no test files'
99fi
1010
11+ # Attempt to build the docs
12+ set +u
13+ if [ -z " $CIRCLECI " ]; then
14+ cd docs/
15+ make html 2>&1 > /dev/null
16+ echo " Successfully built documentation"
17+ cd ../
18+ fi
19+
20+
1121# Ensure we have the correct environment variables
1222if [[ -f " tests/env.sh" ]]; then
1323 echo " env.sh already exists, skipping configuring new accounts..."
You can’t perform that action at this time.
0 commit comments