Skip to content

Commit

Permalink
Add semaphore.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
LauraBeatris committed Dec 19, 2023
1 parent 3397781 commit 6a211ee
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .semaphore/semaphore.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
version: v1.0
name: Elixir
agent:
machine:
type: e1-standard-2
os_image: ubuntu1804
blocks:
- name: Run Tests
task:
jobs:
- name: Elixir Tests
commands:
- checkout
- sem-version elixir 1.11.4
- mix local.hex --force
- mix local.rebar --force
- mix deps.get
- mix test
- name: Build and Release
task:
jobs:
- name: Elixir Build and Release
commands:
- checkout
- sem-version elixir 1.11.4
- mix local.hex --force
- mix local.rebar --force
- mix deps.get
- mix compile
- mix release

0 comments on commit 6a211ee

Please sign in to comment.