diff --git a/.circleci/config.yml b/.circleci/config.yml index d8d10e9..d3c32c7 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,16 +1,15 @@ version: 2 jobs: build: - working_directory: /go/src/github.com/solidnerd/gogpat - docker: - - image: circleci/golang:1.10 + machine: true steps: - checkout - restore_cache: keys: - v1-pkg-cache - - setup_remote_docker - - run: make ci + - run: ls -alh + - run: pwd + - run: ci/test.sh $(go list ./... | grep -v vendor) - save_cache: key: v1-pkg-cache paths: diff --git a/ci/test.sh b/ci/test.sh index 8f7ffca..e1cc2b6 100755 --- a/ci/test.sh +++ b/ci/test.sh @@ -3,20 +3,21 @@ set -eu PKG_LIST=$1 versions=( \ - 10.2.5 \ - 10.8.4 \ - 11.0.2 \ + 11.1.4 \ + 11.2.3 \ + 11.3.4 \ ) for version in "${versions[@]}"; do - pushd ci - printf "Testing with GitLab $version\n\n" - GITLAB_VERSION=${version} docker-compose up -d - until curl -sSf http://localhost:10080/explore > /dev/null - do - sleep 10 - done - popd + # pushd ci + # printf "Testing with GitLab $version\n\n" + # GITLAB_VERSION=${version} docker-compose up -d + # until curl -sSf http://localhost:10080/explore > /dev/null + # do + # sleep 10 + # done + # popd + echo "$PKG_LIST" printf "Testing...\n\n" go test -v -covermode=count -coverprofile=profile.cov -timeout=1200s ${PKG_LIST} pushd ci