2015-09-27 10:01:51 +00:00
|
|
|
sudo: false
|
2015-04-17 22:21:54 +00:00
|
|
|
language: go
|
|
|
|
|
2017-04-04 12:16:06 +00:00
|
|
|
services:
|
|
|
|
- docker
|
|
|
|
|
2015-09-27 10:01:51 +00:00
|
|
|
go:
|
2016-11-25 12:31:13 +00:00
|
|
|
- 1.7.3
|
2015-09-27 10:01:51 +00:00
|
|
|
|
2017-04-04 12:16:06 +00:00
|
|
|
before_install:
|
|
|
|
- docker build -t elm-env ui/.
|
|
|
|
|
2015-04-17 22:21:54 +00:00
|
|
|
script:
|
2015-10-05 16:43:38 +00:00
|
|
|
- make
|
2017-04-04 12:16:06 +00:00
|
|
|
- docker run --rm -t -v "$(pwd):/app" -w /app/ui/app elm-env elm-format --validate src/
|
2017-04-21 13:52:22 +00:00
|
|
|
- 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
|