mirror of
https://github.com/prometheus/alertmanager
synced 2024-12-28 17:12:13 +00:00
b3f3ecf803
We generate binaries whenever `make build-all` is run. If they already exist, we only regenerate them if they are outdated. When one makes changes to the front-end and runs the single command `make build-all` on the root level Makefile, the front-end is rebuild accordingly. `make build-all` will use Docker to build the front-end. If someone prefers to install all the dev dependencies on their local machine instead, one can add the `NO_DOCKER=true` flag. For folks that only want to make back-end changes `ui/bindata.go` is checked in, so they do not have to build the front-end. They still use the `make build` command as before.
18 lines
190 B
YAML
18 lines
190 B
YAML
sudo: false
|
|
language: go
|
|
|
|
services:
|
|
- docker
|
|
|
|
go:
|
|
- 1.8.1
|
|
|
|
script:
|
|
# test front-end
|
|
- make clean
|
|
- cd ui/app/ && make && cd ../..
|
|
- make assets
|
|
- git diff --exit-code
|
|
# test back-end
|
|
- make
|