-
Notifications
You must be signed in to change notification settings - Fork 131
/
appveyor.yml
48 lines (38 loc) · 1.13 KB
/
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
41
42
43
44
45
46
47
48
os: Visual Studio 2015
environment:
LIBSASS_DIR: ..\libsass
matrix:
- configuration: Debug
- configuration: Release
cache:
- C:\Ruby%ruby_version%\lib\ruby\gems
install:
- git clone https://github.com/sass/libsass.git
- cd libsass
- git clone https://github.com/sass/sass-spec
- cd %APPVEYOR_BUILD_FOLDER%
build:
parallel: true
project: win\sassc.sln
after_build:
- bin\sassc -v
- call "%ProgramFiles(x86)%\Microsoft Visual Studio 14.0\VC\vcvarsall.bat"
- dumpbin /dependents bin\sassc.exe # equivalent of Unix' lld utility
test_script:
- gem install sass minitest
- ruby libsass\sass-spec\sass-spec.rb -c bin\sassc -s libsass\sass-spec\spec
test: off
# Turn off the test script to speedup the CI builds, set it to on or remove the previous line when needed.
artifacts:
path: bin\sassc.exe
deploy:
provider: GitHub
description: $(APPVEYOR_REPO_COMMIT_MESSAGE_EXTENDED)
auth_token:
secure: xGL+pDUi3VJOZWGREe3wEGuZaOVA/Mg2BEhjHYIaUoKQCBhY1V9B6xNtix4CB1+8
draft: true
prerelease: false
on:
branch: master
appveyor_repo_tag: true # deploy on tag push only
configuration: Release