mirror of
https://github.com/jhillyerd/inbucket.git
synced 2025-12-17 17:47:03 +00:00
travis: Make Elm part of the build matrix
This commit is contained in:
14
.travis.yml
14
.travis.yml
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user