badguardhome/.travis.yml

31 lines
381 B
YAML
Raw Normal View History

2018-08-30 15:16:37 +00:00
language: go
sudo: false
go:
- 1.11.x
- 1.x
2018-08-30 15:16:37 +00:00
2018-11-09 15:19:55 +00:00
cache:
directories:
- $HOME/.cache/go-build
- $HOME/gopath/pkg/mod
- $HOME/Library/Caches/go-build
os:
- linux
- osx
2019-01-04 18:00:06 +00:00
before_install:
- nvm install node
- npm install -g npm
install:
- npm --prefix client install
2018-08-30 15:16:37 +00:00
script:
2019-01-04 18:00:06 +00:00
- node -v
- npm -v
- go test ./...
- make build/static/index.html
- make
2018-08-30 15:16:37 +00:00