|
|
@ -7,14 +7,10 @@ go: |
|
|
|
before_install: |
|
|
|
before_install: |
|
|
|
- sudo apt-get update -qq |
|
|
|
- sudo apt-get update -qq |
|
|
|
- sudo apt-get install -y libpam-dev |
|
|
|
- sudo apt-get install -y libpam-dev |
|
|
|
- go get github.com/msteinert/pam |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
install: |
|
|
|
|
|
|
|
- go get -t -v ./... |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
script: | |
|
|
|
|
|
|
|
go build -v -tags "pam" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
script: |
|
|
|
|
|
|
|
- go build -v -tags 'cert sqlite pam miniwinsvc' |
|
|
|
|
|
|
|
- | |
|
|
|
for pkg in $(go list ./... | grep -v /vendor/) |
|
|
|
for pkg in $(go list ./... | grep -v /vendor/) |
|
|
|
do |
|
|
|
do |
|
|
|
go test -v -race -cover -coverprofile $GOPATH/src/$pkg/coverage.out $pkg || exit 1 |
|
|
|
go test -v -race -cover -coverprofile $GOPATH/src/$pkg/coverage.out $pkg || exit 1 |
|
|
|