Version 0.9.0
Language EN

Elixir Sample

kind: pipeline
name: default

steps:
- name: test
  image: elixir:1.5
  commands:
  - mix local.rebar --force
  - mix local.hex --force
  - mix deps.get
  - mix test

Dependencies are downloaded to /root/.mix which is outside the shared workspace. Create a named volume to share this directory with all pipeline steps:

kind: pipeline
name: default

steps:
- name: install
  image: elixir:1.5
  volumes:
  - name: mix
    path: /root/.mix
  commands:
  - mix local.rebar --force
  - mix local.hex --force
  - mix deps.get

- name: test
  image: elixir:1.5
  volumes:
  - name: mix
    path: /root/.mix
  commands:
  - mix test

volumes:
- name: mix
  empty: {}

Getting Help

Enterprise Support
Real-time chat support from the developers that wrote the code.
Mailing List
Search for information in the mailing list archives, or post a question.