Don't add btmgmt binary on CI (#161)
This commit is contained in:
parent
23f51bc56d
commit
21c85cec13
1 changed files with 2 additions and 1 deletions
|
|
@ -54,7 +54,8 @@ func NewNRGKickBLE(device, macaddress string, pin int) *NRGKickBLE {
|
|||
// set LE mode
|
||||
btmgmt := hw.NewBtMgmt(device)
|
||||
|
||||
if len(os.Getenv("DOCKER")) > 0 {
|
||||
// don't add Docker binary on CI
|
||||
if len(os.Getenv("DOCKER")) > 0 && os.Getenv("CI") == "" {
|
||||
btmgmt.BinPath = "./bin/docker-btmgmt"
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue