1
0
mirror of https://github.com/jhillyerd/inbucket.git synced 2025-12-17 09:37:02 +00:00

travis: Make Elm part of the build matrix

This commit is contained in:
James Hillyerd
2019-01-06 17:18:49 -08:00
parent 07e75495e8
commit 9ca179e249

View File

@@ -4,11 +4,7 @@ env:
global: global:
- GO111MODULE=on - GO111MODULE=on
# deploy will use first go version listed below.
language: go language: go
go:
- "1.11.x"
- "master"
install: install:
- "go get golang.org/x/lint/golint" - "go get golang.org/x/lint/golint"
@@ -16,15 +12,16 @@ install:
jobs: jobs:
include: include:
- stage: elm - go: "1.11.x"
- go: "master"
- language: elm
elm: "0.19.0"
install: install:
- "cd ui" - "cd ui"
- "npm install" - "npm ci"
script: script:
- "elm-format --validate ." - "elm-format --validate ."
- "npm run build" - "npm run build"
language: elm
elm: "0.19.0"
- stage: deploy - stage: deploy
install: "true" install: "true"
script: "curl -sL https://git.io/goreleaser | bash" script: "curl -sL https://git.io/goreleaser | bash"
@@ -35,6 +32,5 @@ jobs:
stages: stages:
- test - test
- elm
- name: deploy - name: deploy
if: tag IS present if: tag IS present