-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathappveyor.yml
38 lines (34 loc) · 995 Bytes
/
appveyor.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
image: Visual Studio 2015
services:
- postgresql96
cache:
- C:\ProgramData\chocolatey
- C:\Program Files\erl9.0
- _build
- deps
- node_modules
- _mix_ci
- ~/.mix
init:
- call "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /x64
- call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x86_amd64
- SET PATH=%PATH:C:\Program Files\erl8.3\bin;=%
- SET PATH=C:\ProgramData\chocolatey\lib\Elixir\bin;%PATH%
- SET PATH=C:\Program Files\PostgreSQL\9.6\bin\;%PATH%
- SET PATH=C:\Program Files\erl9.0\bin;%PATH%
- SET PGUSER=postgres
- SET PGPASSWORD=Password12!
install:
- cinst erlang --version 20.0 --force
- cinst elixir --force
- yarn
- nmake mix-tools
build_script:
- nmake mix-prepare
before_test:
- psql -c "create role sealas with login password 'sealas';" -U postgres
- psql -c "create database sealas with owner sealas;" -U postgres
test_script:
- yarn run mdlint
- nmake mix-test
- nmake mix-dialyzer