mirror of
https://github.com/jashkenas/coffeescript.git
synced 2022-11-09 12:23:24 -05:00

* 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
31 lines
731 B
YAML
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}"
|