forked from TryGhost/Ghost-CLI
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
40 lines (31 loc) · 926 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
39
40
# Fix line endings in Windows. (runs before repo cloning)
init:
- git config --global core.autocrlf true
clone_depth: 1
environment:
matrix:
- nodejs_version: "8.9"
platform:
- x64
cache:
- "%LOCALAPPDATA%\\Yarn"
branches:
only:
- master
# Install scripts. (runs after repo cloning)
install:
# Let's try to get things working
# Install Node 4 ---------------------------------------------------------
- ps: Install-Product node 8.9
# Installation, deps -----------------------------------------------------
- yarn install --no-progress --no-emojis
- npm link # yarn link doesn't seem to work
test_script:
- md C:\clitest
- cd C:\clitest
- ghost install local
on_failure:
- ps: Get-ChildItem C:\Users\appveyor\.ghost\logs\*.log | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name }
# Set build version format here instead of in the admin panel.
build: off
version: "{build}"