From 7d9fb9f51ec9071ac5988ac9dffb3f50a473ac11 Mon Sep 17 00:00:00 2001 From: William Cheng Date: Tue, 15 May 2018 09:58:37 +0800 Subject: [PATCH] Add CI test for Elm in travis (#40) * test elm in travis * install elm --- .gitignore | 5 ++++- .travis.yml | 1 + pom.xml | 4 ++-- samples/client/petstore/elm/pom.xml | 7 ++++++- 4 files changed, 13 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 69f73917ac4e..4db9651afa2d 100644 --- a/.gitignore +++ b/.gitignore @@ -206,5 +206,8 @@ samples/client/petstore/dart/petstore/packages samples/client/petstore/dart/flutter_petstore/test/packages samples/client/petstore/dart/petstore/test/packages -## JS +# JS samples/client/petstore/javascript/package-lock.json + +# elm +samples/client/petstore/elm/index.html diff --git a/.travis.yml b/.travis.yml index 12b482db89f6..b299906b02d4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -41,6 +41,7 @@ before_install: - gem install bundler - npm install -g typescript - npm install -g npm + - npm install -g elm - npm config set registry http://registry.npmjs.org/ # set python 3.6.3 as default - source ~/virtualenv/python3.6/bin/activate diff --git a/pom.xml b/pom.xml index 6e0687016cd3..72b3740d61af 100644 --- a/pom.xml +++ b/pom.xml @@ -848,8 +848,8 @@ - + + samples/client/petstore/elm samples/client/petstore/groovy samples/client/petstore/rust diff --git a/samples/client/petstore/elm/pom.xml b/samples/client/petstore/elm/pom.xml index abedbfae9c5a..c5dfdce280e6 100644 --- a/samples/client/petstore/elm/pom.xml +++ b/samples/client/petstore/elm/pom.xml @@ -33,7 +33,12 @@ exec - ./elm-compile-test + elm + + make + --yes + src/Main.elm +