Skip to content

Commit

Permalink
Add CI test for Elm in travis (#40)
Browse files Browse the repository at this point in the history
* test elm in travis

* install elm
  • Loading branch information
wing328 committed May 15, 2018
1 parent 67ebe17 commit 7d9fb9f
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 4 deletions.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -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
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -848,8 +848,8 @@
</activation>
<modules>
<!-- clients -->
<!-- elm client not fully ready for CI yet
<module>samples/client/petstore/elm</module>-->
<!-- elm client not fully ready for CI yet -->
<module>samples/client/petstore/elm</module>
<module>samples/client/petstore/groovy</module>
<module>samples/client/petstore/rust</module>
<!--<module>samples/client/petstore/perl</module>-->
Expand Down
7 changes: 6 additions & 1 deletion samples/client/petstore/elm/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,12 @@
<goal>exec</goal>
</goals>
<configuration>
<executable>./elm-compile-test</executable>
<executable>elm</executable>
<arguments>
<argument>make</argument>
<argument>--yes</argument>
<argument>src/Main.elm</argument>
</arguments>
</configuration>
</execution>
</executions>
Expand Down

0 comments on commit 7d9fb9f

Please sign in to comment.