-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
appveyor.yml
38 lines (32 loc) · 1011 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
branches:
only:
- master
except:
- gh-pages
- docs/source
services:
- postgresql96
environment:
matrix:
- TEST_DIR: liquidart_test
- TEST_DIR: liquidart
install:
- ps: wget https://storage.googleapis.com/dart-archive/channels/stable/release/latest/sdk/dartsdk-windows-x64-release.zip -OutFile dart-sdk.zip
- cmd: echo "Unzipping dart-sdk..."
- cmd: 7z x dart-sdk.zip -o"C:\tools" -y > nul
- set PATH=%PATH%;C:\tools\dart-sdk\bin
- set PATH=%PATH%;%APPDATA%\Pub\Cache\bin
- set PGUSER=postgres
- set PGPASSWORD=Password12!
- PATH=C:\Program Files\PostgreSQL\9.6\bin\;%PATH%
build: off
test_script:
- cmd: psql -U postgres -c "create user dart with createdb;"
- cmd: psql -U postgres -c "alter user dart with password 'dart';"
- cmd: psql -U postgres -c "create database dart_test;"
- cmd: psql -U postgres -c "grant all on database dart_test to dart;"
- cd %TEST_DIR%
- pub get
- pub run test -j1
cache:
- C:\Users\appveyor\AppData\Roaming\Pub\Cache