From e4ec5a9d073406cc31e5a79027789f9cae5630e4 Mon Sep 17 00:00:00 2001 From: Rafael Passos Date: Mon, 10 Sep 2018 09:16:13 -0300 Subject: [PATCH] migrated to circleci + golang 1.11 --- .circleci/config.yml | 13 +++++++++++++ .travis.yml | 22 ---------------------- Makefile | 17 ----------------- README.md | 2 +- 4 files changed, 14 insertions(+), 40 deletions(-) create mode 100644 .circleci/config.yml delete mode 100644 .travis.yml delete mode 100644 Makefile diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 0000000..c8a1096 --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,13 @@ +# Golang CircleCI 2.0 configuration file +# +# Check https://circleci.com/docs/2.0/language-go/ for more details +version: 2 +jobs: + build: + docker: + - image: circleci/golang:1.11 + working_directory: /go/src/github.com/auyer/steganography + steps: + - checkout + - run: go get -v -t -d github.com/auyer/steganography + - run: go test -v ./... diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 3566d86..0000000 --- a/.travis.yml +++ /dev/null @@ -1,22 +0,0 @@ - -language: go -go: - # - 1.9.x - - 1.10.x - - tip -# install: -# - make dependency -script: - - make test -matrix: - allow_failures: - include: - - os: osx - - os: linux - # It's ok if our code fails on unstable development versions of Go. - allow_failures: - - go: master - fast_finish: true - - notifications: - email: true \ No newline at end of file diff --git a/Makefile b/Makefile deleted file mode 100644 index e67d8f5..0000000 --- a/Makefile +++ /dev/null @@ -1,17 +0,0 @@ -#DEP_VERSION=0.4.1 - -#dependency: -# curl -fsSL -o ${GOPATH}/bin/dep https://github.com/golang/dep/releases/download/v${DEP_VERSION}/dep-linux-amd64 -# chmod +x ${GOPATH}/bin/dep -# dep ensure - -test: - echo "" > coverage.txt - for d in $(shell go list ./... | grep -v vendor); do \ - go test -race -coverprofile=profile.out -covermode=atomic $$d || exit 1; \ - [ -f profile.out ] && cat profile.out >> coverage.txt && rm profile.out; \ - done - -tag: - @git tag `grep -P '^\tversion = ' echo.go|cut -f2 -d'"'` - @git tag|grep -v ^v \ No newline at end of file diff --git a/README.md b/README.md index 5eb96c2..aa900ae 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Steganography Lib -[![GoDoc](https://godoc.org/github.com/golang/gddo?status.svg)](http://godoc.org/github.com/auyer/steganography) [![Go Report Card](https://goreportcard.com/badge/github.com/auyer/steganography)](https://goreportcard.com/report/github.com/auyer/steganography) [![LICENSE MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg)](https://img.shields.io/badge/license-MIT-brightgreen.svg) [![Build Status](https://travis-ci.org/auyer/steganography.svg?branch=master)](https://travis-ci.org/auyer/steganography) [![cover.run](https://cover.run/go/github.com/auyer/steganography.svg?style=flat&tag=golang-1.10)](https://cover.run/go?tag=golang-1.10&repo=github.com%2Fauyer%2Fsteganography) [![Awesome Go](https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg)](https://github.com/avelino/awesome-go) +[![GoDoc](https://godoc.org/github.com/golang/gddo?status.svg)](http://godoc.org/github.com/auyer/steganography) [![Go Report Card](https://goreportcard.com/badge/github.com/auyer/steganography)](https://goreportcard.com/report/github.com/auyer/steganography) [![LICENSE MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg)](https://img.shields.io/badge/license-MIT-brightgreen.svg) [![CircleCI](https://circleci.com/gh/auyer/steganography.svg?style=svg)](https://circleci.com/gh/auyer/steganography) [![cover.run](https://cover.run/go/github.com/auyer/steganography.svg?style=flat&tag=golang-1.10)](https://cover.run/go?tag=golang-1.10&repo=github.com%2Fauyer%2Fsteganography) [![Awesome Go](https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg)](https://github.com/avelino/awesome-go) Steganography is a library written in Pure go to allow simple LSB steganography on images. It is capable of both encoding and decoding images. It can store files of any format. This library is inspired by [Stego by EthanWelsh](https://github.com/EthanWelsh/Stego), a command line utility with the same purpose.