Skip to content

Commit

Permalink
🔥 0.1-beta 🔥
Browse files Browse the repository at this point in the history
  • Loading branch information
Aeneas committed May 29, 2016
1 parent f0b40f1 commit 00fd93c
Show file tree
Hide file tree
Showing 1,168 changed files with 8,182 additions and 232,098 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.

21 changes: 13 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,19 @@ 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
- git clone https://github.com/docker-library/official-images.git ~/official-images

script:
# - go vet -x ./...
- gotestcover -coverprofile="cover.out" -race -covermode="count" $(go list ./... | grep -v /vendor/)
- go test -bench=.* -run=nothing $(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"
- docker build -t hydra-travis-ci .
- docker run -d hydra-travis-ci
- $GOPATH/bin/hydra host --dangerous-auto-logon &
- sleep 2
- $GOPATH/bin/hydra token client --skip-tls-verify
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 sleep 5; /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

1 comment on commit 00fd93c

@b1b0
Copy link

@b1b0 b1b0 commented on 00fd93c Jun 30, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

WORLD GREATEST WORXXXXX how ever i see.... ( All TOGETHER,ALL FOR ONE)

PS: with WINDOWS starts my Windows legging, i only watching.... (thats suxxx)

LINUX MY LOVE

Please sign in to comment.