From 01ef1ed31163b4a56561cb947c5d03cbe29e5154 Mon Sep 17 00:00:00 2001 From: WeebDataHoarder <57538841+WeebDataHoarder@users.noreply.github.com> Date: Sat, 26 Feb 2022 14:45:39 +0100 Subject: [PATCH] Updated URLs / CI --- .drone.yml | 14 ++++++++++++++ .gitignore | 2 ++ .travis.yml | 14 -------------- README.md | 19 +++---------------- cmd/gotta/main.go | 2 +- codec.go | 2 +- decoder.go | 4 ++-- encoder.go | 4 ++-- go.mod | 2 +- 9 files changed, 26 insertions(+), 37 deletions(-) create mode 100644 .drone.yml delete mode 100644 .travis.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..348a5d8 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,14 @@ +--- +kind: pipeline +type: docker +name: default + +steps: + - name: test + image: golang:1.18rc1-bullseye + commands: + - DEBIAN_FRONTEND=noninteractive apt update + - DEBIAN_FRONTEND=noninteractive apt install -y libflac-dev + - go test -cover -v + +... diff --git a/.gitignore b/.gitignore index 18519c5..e015716 100644 --- a/.gitignore +++ b/.gitignore @@ -27,3 +27,5 @@ libtta-c* *.wav *.tta cmd/gotta/gotta + +/.idea \ No newline at end of file diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 43b286f..0000000 --- a/.travis.yml +++ /dev/null @@ -1,14 +0,0 @@ -language: go -go: -- "1.8" -- "1.9" -- "1.10" -- "1.11" -- "1.12" -- "1.13" -- "1.14" -- tip -before_install: - - go get github.com/mattn/goveralls -script: - - $HOME/gopath/bin/goveralls -service=travis-ci \ No newline at end of file diff --git a/README.md b/README.md index 30c9dbe..c75be21 100644 --- a/README.md +++ b/README.md @@ -1,23 +1,10 @@ # tta -[![Go Report Card](https://goreportcard.com/badge/github.com/dsonck92/tta)](https://goreportcard.com/report/github.com/dsonck92/tta) -[![GoDoc](https://godoc.org/github.com/dsonck92/tta?status.svg)](https://godoc.org/github.com/dsonck92/tta) -[![Build Status](https://travis-ci.org/dsonck92/tta.svg?branch=master)](https://travis-ci.org/dsonck92/tta) -[![Coverage Status](https://coveralls.io/repos/github/dsonck92/tta/badge.svg?branch=master)](https://coveralls.io/github/dsonck92/tta?branch=master) +[![Go Report Card](https://goreportcard.com/badge/git.gammaspectra.live/S.O.N.G/go-tta)](https://goreportcard.com/report/git.gammaspectra.live/S.O.N.G/go-tta) +[![GoDoc](https://godoc.org/git.gammaspectra.live/S.O.N.G/go-tta?status.svg)](https://godoc.org/git.gammaspectra.live/S.O.N.G/go-tta) +[![Build Status](https://ci.gammaspectra.live/api/badges/S.O.N.G/go-tta/status.svg)](https://ci.gammaspectra.live/S.O.N.G/go-tta) [TTA Lossless Audio Codec](http://en.true-audio.com/TTA_Lossless_Audio_Codec_-_Realtime_Audio_Compressor) Encoder/Decoder for #golang -## `gotta` console tool - -- install: `go get github.com/zyxar/tta/cmd/gotta` -- usage: - - ``` - -decode=false: decode file - -encode=false: encode file - -help=false: print this help - -passwd="": specify password - ``` - ## TODOs - [x] SSE4 acceleration diff --git a/cmd/gotta/main.go b/cmd/gotta/main.go index b3283e3..103331a 100644 --- a/cmd/gotta/main.go +++ b/cmd/gotta/main.go @@ -8,7 +8,7 @@ import ( "runtime/pprof" "time" - "github.com/dsonck92/tta" + "git.gammaspectra.live/S.O.N.G/go-tta" ) var ( diff --git a/codec.go b/codec.go index 166db38..becb69c 100644 --- a/codec.go +++ b/codec.go @@ -1,7 +1,7 @@ package tta import ( - "github.com/dsonck92/tta/filter" + "git.gammaspectra.live/S.O.N.G/go-tta/filter" ) type Info struct { diff --git a/decoder.go b/decoder.go index f922d95..9c25715 100644 --- a/decoder.go +++ b/decoder.go @@ -4,8 +4,8 @@ import ( "io" "os" - "github.com/dsonck92/tta/filter" - "github.com/dsonck92/tta/wave" + "git.gammaspectra.live/S.O.N.G/go-tta/filter" + "git.gammaspectra.live/S.O.N.G/go-tta/wave" ) type Decoder struct { diff --git a/encoder.go b/encoder.go index 1215361..1907661 100644 --- a/encoder.go +++ b/encoder.go @@ -5,8 +5,8 @@ import ( "io" "os" - "github.com/dsonck92/tta/filter" - "github.com/dsonck92/tta/wave" + "git.gammaspectra.live/S.O.N.G/go-tta/filter" + "git.gammaspectra.live/S.O.N.G/go-tta/wave" ) type Encoder struct { diff --git a/go.mod b/go.mod index 583d592..402838a 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/dsonck92/tta +module git.gammaspectra.live/S.O.N.G/go-tta go 1.15