From 556651463622b3025d94e45bcc011e9e580bb261 Mon Sep 17 00:00:00 2001 From: Andrey Petrov Date: Sun, 17 Jul 2016 18:11:00 -0400 Subject: [PATCH] ci: Remove Dockerfile, golint, update travisci to use tip --- .travis.yml | 4 +--- Dockerfile | 18 ------------------ Makefile | 1 - 3 files changed, 1 insertion(+), 22 deletions(-) delete mode 100644 Dockerfile diff --git a/.travis.yml b/.travis.yml index 27f022d..3b7c6b3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,8 +5,6 @@ notifications: install: - export PATH=$PATH:$HOME/gopath/bin - - go get github.com/GeertJohan/fgt - - go get github.com/golang/lint/golint - make deps script: @@ -14,4 +12,4 @@ script: - make test go: - - 1.4 + - tip diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index 19253bc..0000000 --- a/Dockerfile +++ /dev/null @@ -1,18 +0,0 @@ -# -# Usage example: -# $ docker build -t ssh-chat . -# $ docker run -d -p 0.0.0.0:(your host machine port):2022 --name ssh-chat ssh-chat -# -FROM golang:1.4 -MAINTAINER Alvin Lai - -RUN apt-get update -RUN apt-get install -y openssh-client - -RUN go get github.com/shazow/ssh-chat -RUN ssh-keygen -f ~/.ssh/id_rsa -t rsa -N '' - -EXPOSE 2022 - -CMD ["-i", "/root/.ssh/id_rsa", "-vv", "--bind", "\":2022\""] -ENTRYPOINT ["ssh-chat"] diff --git a/Makefile b/Makefile index 31b2384..d9a13b3 100644 --- a/Makefile +++ b/Makefile @@ -30,7 +30,6 @@ debug: $(BINARY) $(KEY) test: go test ./... - golint ./... release: GOOS=linux GOARCH=amd64 $(LDFLAGS) ./build_release "github.com/shazow/ssh-chat/cmd/ssh-chat" README.md LICENSE