mirror of
https://github.com/henrydcase/nobs.git
synced 2024-11-22 15:18:57 +00:00
39 lines
1.2 KiB
YAML
39 lines
1.2 KiB
YAML
sudo: required
|
|
language: go
|
|
go:
|
|
- 1.13.x
|
|
- 1.14.x
|
|
- master
|
|
|
|
matrix:
|
|
include:
|
|
- name: "Go on x86-64"
|
|
os: linux
|
|
script:
|
|
- make clean
|
|
- NOASM=0 make test
|
|
- NOASM=1 make test
|
|
- name: "Go 1.13 on ARM64"
|
|
services: docker
|
|
os: linux
|
|
script:
|
|
- docker run --rm --privileged multiarch/qemu-user-static:register --reset
|
|
- docker run --rm -v `pwd`:`pwd` -w `pwd` "flowher/debian-buster-aarch64-go-1.13" /bin/bash -c "NOASM=0 make test"
|
|
- docker run --rm -v `pwd`:`pwd` -w `pwd` "flowher/debian-buster-aarch64-go-1.13" /bin/bash -c "NOASM=1 make test"
|
|
- name: "Go 1.14 on ARM64"
|
|
services: docker
|
|
os: linux
|
|
script:
|
|
- docker run --rm --privileged multiarch/qemu-user-static:register --reset
|
|
- docker run --rm -v `pwd`:`pwd` -w `pwd` "flowher/debian-buster-aarch64-go-1.14" /bin/bash -c "NOASM=0 make test"
|
|
- docker run --rm -v `pwd`:`pwd` -w `pwd` "flowher/debian-buster-aarch64-go-1.14" /bin/bash -c "NOASM=1 make test"
|
|
- name: "Coverage"
|
|
os: linux
|
|
script:
|
|
- NOASM=0 make cover
|
|
- NOASM=1 make cover
|
|
|
|
|
|
after_script:
|
|
- bash <(curl -s https://codecov.io/bash) -t 8a75b459-85b1-4e5d-aa12-4dd705914700
|