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