Skip to content

Commit

Permalink
Merge c5445e1 into f0b40f1
Browse files Browse the repository at this point in the history
  • Loading branch information
Aeneas committed May 18, 2016
2 parents f0b40f1 + c5445e1 commit 1076d98
Show file tree
Hide file tree
Showing 1,156 changed files with 6,323 additions and 231,984 deletions.
2 changes: 2 additions & 0 deletions .cobra.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
author: Aeneas Rekkas <aeneas@ory.am>
license: Apache License Version 2.0
Empty file removed .coveralls.yml
Empty file.
2 changes: 2 additions & 0 deletions .docker-home/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*
!.gitignore
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
vendor/
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,6 @@ node_modules/
*.log
*.stackdump
.DS_Store
vendor/
.hydra.yml
cover.out
1 change: 0 additions & 1 deletion .godir

This file was deleted.

20 changes: 7 additions & 13 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
go test sudo: required

services:
- docker

env:
- DOCKER_BIND_LOCALHOST=true GO15VENDOREXPERIMENT=1

Expand All @@ -13,14 +8,13 @@ go:
- 1.6

install:
- go get github.com/axw/gocov/gocov
- go get github.com/mattn/goveralls
- go get golang.org/x/tools/cmd/cover
- go get github.com/golang/lint/golint
- go get github.com/pierrre/gotestcover
- go get -t $(go list ./... | grep -v /vendor/)
- go get github.com/axw/gocov/gocov github.com/mattn/goveralls golang.org/x/tools/cmd/cover github.com/pierrre/gotestcover
# Workaround for travis
- go get -t -v ./...
- go install github.com/ory-am/hydra

script:
# - go vet -x ./...
- gotestcover -coverprofile="cover.out" -race -covermode="count" $(go list ./... | grep -v /vendor/)
- go test -race $(go list ./... | grep -v /vendor | grep -v /cmd)
- gotestcover -coverprofile="cover.out" $(go list ./... | grep -v /vendor/)
- goveralls -coverprofile="cover.out"
- $GOPATH/bin/hydra
12 changes: 12 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
FROM golang:1.6

ADD . /go/src/github.com/ory-am/hydra
WORKDIR /go/src/github.com/ory-am/hydra

RUN go get github.com/Masterminds/glide
RUN glide install
RUN go install github.com/ory-am/hydra

ENTRYPOINT /go/bin/hydra host

EXPOSE 4444
12 changes: 12 additions & 0 deletions Dockerfile-dangerous
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
FROM golang:1.6

ADD . /go/src/github.com/ory-am/hydra
WORKDIR /go/src/github.com/ory-am/hydra

RUN go get github.com/Masterminds/glide
RUN glide install
RUN go install github.com/ory-am/hydra

ENTRYPOINT /go/bin/hydra host --dangerous-auto-logon

EXPOSE 4444
206 changes: 0 additions & 206 deletions Godeps/Godeps.json

This file was deleted.

5 changes: 0 additions & 5 deletions Godeps/Readme

This file was deleted.

2 changes: 1 addition & 1 deletion Procfile
Original file line number Diff line number Diff line change
@@ -1 +1 @@
web: hydra-host start
web: hydra host
Loading

0 comments on commit 1076d98

Please sign in to comment.