Files
openapi-generator/shippable.yml
William Cheng 7d75c66180 Various updates (#419)
* various updates

* update pom.xml

* update ci config with new location

* Change "swagger-codegen" to "openapi-generator" in a comment

* fix pom.xml for bash client

* minor fix to github ID

* fix pom for ios
2018-05-11 15:28:32 +08:00

35 lines
995 B
YAML

language: java
jdk:
- oraclejdk8
build:
cache: true
cache_dir_list:
- $HOME/.m2
- $HOME/.stack
- $SHIPPABLE_REPO_DIR/samples/client/petstore/elixir/deps
ci:
- sudo apt-get update -qq
# install stack
- curl -sSL https://get.haskellstack.org/ | sh
# 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
- sudo apt-get update
- sudo apt-get install elixir
# install rebar3
- wget https://s3.amazonaws.com/rebar3/rebar3 && chmod +x rebar3 && cp rebar3 /usr/bin
# show version
- rebar3 -v
- elixir --version
- mix --version
# test samples defined in pom.xml
- cp CI/pom.xml.shippable pom.xml
- mvn clean install
- mvn verify -P samples
# generate all petstore sampless (client, servers, doc)
- ./bin/run-all-petstore 2>&1 > run-all-petstore.log
post_ci:
- tail run-all-petstore.log