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

travis: Add Elm stage

This commit is contained in:
James Hillyerd
2018-12-23 10:39:52 -08:00
parent 92c89b98ee
commit 4dd3ad33f9

View File

@@ -1,30 +1,38 @@
language: go
sudo: false
addons:
apt:
packages:
- rpm
env:
global:
- GO111MODULE=on
install:
- go get golang.org/x/lint/golint
- make deps
language: go
go:
- "1.11.x"
- "tip"
- "master"
install:
- "go get golang.org/x/lint/golint"
- "make deps"
jobs:
include:
- stage: elm
install:
- "cd ui"
- "npm install"
script:
- "elm-format --validate ."
- "npm run build"
language: elm
elm: "0.19.0"
- stage: deploy
script: etc/travis-deploy.sh
go: "1.11.x"
script: "etc/travis-deploy.sh"
addons:
apt:
packages:
- rpm
stages:
- test
- elm
- name: deploy
if: tag IS present