-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathwercker.yml
45 lines (38 loc) · 1.05 KB
/
wercker.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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
box: elixir:latest
build:
steps:
# Installing OS dependencies
- script:
name: Installing Ubuntu zip
code: |
sudo apt-get update
sudo apt-get install -y zip
# Setting Environmental variables\
- script:
name: set env variable
code: |
export MIX_ENV=test
# - script:
# name: check elixir version
# code: |
# iex --version
# Get dependencies.
- script:
name: Get Dependencies
code: |
cd $WERCKER_SOURCE_DIR
yes | mix deps.get
yes | mix deps.compile --all
# Run the test
- script:
name: mix test
code: |
mix test
after-steps:
- wercker/email-notify:
from: [email protected]
username: $username
password: $password
host: smtp.sendgrid.net
port: 587