Files
coffeescript/.travis.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

26 lines
490 B
YAML

language: node_js
node_js:
- 0.8
- 0.10
- 0.12
- 4
- 6
- 8
- node
before_install:
- "test $(echo $TRAVIS_NODE_VERSION | cut -d. -f1) = '0' && npm install --global npm@2 && npm --version || true"
cache:
directories:
- node_modules
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