1
0
Fork 0
mirror of https://github.com/jashkenas/coffeescript.git synced 2022-11-09 12:23:24 -05:00
jashkenas--coffeescript/appveyor.yml
Geoffrey Booth 8adb30b212
[CS1] AppVeyor (#4816)
* First attempt at AppVeyor for CS1

* Update NPM for Node < 4

* Backport #4731, fix for test failing in Windows

* Don't install NPM for Node-latest; cache node_modules

* Polyfill os.tmpdir for Node 0.8, update Travis to support Node 0.8

* Try to make Travis Node 0.8 happen

* Try different batch syntax

* Output NPM version if we install a 2.x version; never return a nonzero exit code if we skip NPM upgrade

* Try another syntax

* Fix syntax for latest Node

* Fix Windows batch syntax
2017-12-02 20:05:32 -08:00

31 lines
731 B
YAML

environment:
matrix:
- nodejs_version: '0.8'
- nodejs_version: '0.10'
- nodejs_version: '0.12'
- nodejs_version: '4'
- nodejs_version: '6'
- nodejs_version: '8'
- nodejs_version: '' # Installs latest.
install:
- ps: Install-Product node $env:nodejs_version
- IF NOT [%nodejs_version%] == [] IF "%nodejs_version%" LSS 4 npm install --global npm@2
- node --version
- npm --version
- npm install
cache:
- node_modules
test_script:
- node ./bin/cake build:except-parser
- node ./bin/cake build:parser
- node --harmony ./bin/cake build:full
- node ./bin/cake build:browser
- node --harmony ./bin/cake test
- node --harmony ./bin/cake test:browser
build: off
version: "{build}"