mirror of
https://github.com/prometheus/alertmanager
synced 2025-01-09 15:29:43 +00:00
a8d7f92c66
This adds three more steps to the Travis tests. 1. Compile Elm -> script.js 2. Bundle html.index & script.js -> bindata.go 3. Check if bindata.go hasn't changed
19 lines
424 B
YAML
19 lines
424 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
|