1
0
mirror of https://github.com/makew0rld/amfora.git synced 2024-11-03 02:37:23 -05:00

Merge branch 'master' into cview-update

This commit is contained in:
makeworld 2020-11-02 19:33:23 -05:00
commit 474c9c842e
3 changed files with 32 additions and 37 deletions

30
.github/workflows/test.yml vendored Normal file
View File

@ -0,0 +1,30 @@
on: [push, pull_request]
name: Test
jobs:
test:
strategy:
matrix:
go-version: ['1.13', '1.14', '1.15']
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}
- name: Install make on Windows
if: matrix.os == 'windows-latest'
run: choco install make
- name: Checkout code
uses: actions/checkout@v2
- uses: actions/cache@v2
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Test
run: |
go test -race ./...
make

View File

@ -1,35 +0,0 @@
language: go
go:
#- "1.11" # Debian Stable golang version, fails - see below
#- "1.12" # Also fails due to progressbar Millisecond requirement
- "1.13"
- "1.14"
- "1.15"
os:
- linux
- osx
- windows
before_install:
- if [ "$TRAVIS_OS_NAME" = "windows" ]; then choco install make; fi
script:
- go test -race ./...
- make
env:
GO111MODULE=on
cache:
directories:
- $GOCACHE
- $GOPATH/pkg/mod
# TODO: GitHub Releases deploy
notifications:
email:
on_success: never
on_failure: always

View File

@ -42,10 +42,10 @@ Make sure to click "Watch" > "Releases only" in the top right to get notified ab
### Arch Linux
Arch Linux users can install Amfora from AUR. It has the package name `amfora`, and is maintained by @pboyd.
Arch Linux users can install Amfora using pacman.
```
yay -S amfora
sudo pacman -S amfora
```
### Homebrew