mirror of
https://github.com/prometheus/alertmanager
synced 2025-01-25 07:22:48 +00:00
9ec25d84c5
Adding two basic (fuzz-) tests for Utils.Filter.parseMatcher. Including tests in Travis runs. Adding make target "test" and "dev-server".
22 lines
497 B
YAML
22 lines
497 B
YAML
sudo: false
|
|
language: go
|
|
|
|
services:
|
|
- docker
|
|
|
|
go:
|
|
- 1.7.3
|
|
|
|
before_install:
|
|
- docker build -t elm-env ui/.
|
|
|
|
script:
|
|
- make
|
|
- docker run --rm -t -v "$(pwd):/app" -w /app/ui/app elm-env elm-format --validate src/
|
|
|
|
- docker run --rm -t -v "$(pwd):/app" -w /app/ui/app elm-env elm-make --yes src/Main.elm --output script.js
|
|
- docker run --rm -t -v "$(pwd):/usr/src/app" -w /usr/src/app golang make assets
|
|
- git diff --exit-code
|
|
|
|
- docker run --rm -t -v "$(pwd):/app" -w /app/ui/app elm-env make test
|