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:
commit
474c9c842e
30
.github/workflows/test.yml
vendored
Normal file
30
.github/workflows/test.yml
vendored
Normal 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
|
35
.travis.yml
35
.travis.yml
@ -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
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user