fix: use new challtestsrv. (#735)

This commit is contained in:
Ludovic Fernandez 2018-12-19 14:09:32 +01:00 committed by GitHub
parent b05b54d1f6
commit 765b80cd41
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 10 deletions

View file

@ -26,12 +26,9 @@ before_install:
- curl -sI https://github.com/golang/dep/releases/latest | grep -Fi Location | tr -d '\r' | sed "s/tag/download/g" | awk -F " " '{ print $2 "/dep-linux-amd64"}' | wget --output-document=$GOPATH/bin/dep -i - - curl -sI https://github.com/golang/dep/releases/latest | grep -Fi Location | tr -d '\r' | sed "s/tag/download/g" | awk -F " " '{ print $2 "/dep-linux-amd64"}' | wget --output-document=$GOPATH/bin/dep -i -
- chmod +x $GOPATH/bin/dep - chmod +x $GOPATH/bin/dep
# Install Pebble # Install Pebble and challtestsrv
- go get -u github.com/letsencrypt/pebble/... - go get -u github.com/letsencrypt/pebble/...
# Install challtestsrv
- go get -u github.com/letsencrypt/boulder/test/challtestsrv/...
# Install linters and misspell # Install linters and misspell
- curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | bash -s -- -b $GOPATH/bin v1.12.2 - curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | bash -s -- -b $GOPATH/bin v1.12.2
- golangci-lint --version - golangci-lint --version

View file

@ -20,7 +20,7 @@ import (
const ( const (
cmdNamePebble = "pebble" cmdNamePebble = "pebble"
cmdNameChallSrv = "challtestsrv" cmdNameChallSrv = "pebble-challtestsrv"
) )
type CmdOption struct { type CmdOption struct {

View file

@ -16,11 +16,6 @@ How to run:
go get -u github.com/letsencrypt/pebble/... go get -u github.com/letsencrypt/pebble/...
``` ```
- Install [challtestsrv](https://github.com/letsencrypt/boulder/tree/master/test/challtestsrv):
```bash
go get -u github.com/letsencrypt/boulder/test/challtestsrv/...
```
- Launch tests: - Launch tests:
```bash ```bash
make e2e make e2e