forked from swagger-api/swagger-codegen
-
Notifications
You must be signed in to change notification settings - Fork 1
/
shippable.yml
29 lines (27 loc) · 825 Bytes
/
shippable.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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
- 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 esl-erlang
- sudo apt-get install elixir
- elixir --version
- mix --version
# test samples defined in pom.xml
- cp pom.xml.shippable pom.xml
- 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