-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Handle path-separators properly. Use "path.sep" instead of "/". Or use "require.resolve()" if possible - Use "execFile" instead of "exec" to run the Handlebars executable. This prevents problems due to (missing) shell escaping. - Use explicit call to "node" in order to run the executable on Windows. - Add "appveyor"-CI in order to run regular tests on Windows.
- Loading branch information
Showing
5 changed files
with
58 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# Test against these versions of Node.js | ||
environment: | ||
matrix: | ||
- nodejs_version: "4" | ||
- nodejs_version: "5" | ||
|
||
platform: | ||
- x64 | ||
|
||
# Install scripts (runs after repo cloning) | ||
install: | ||
# Get the latest stable version of Node.js | ||
- ps: Install-Product node $env:nodejs_version $env:platform | ||
# Clone submodules (mustache spec) | ||
- cmd: git submodule update --init --recursive | ||
# Install modules | ||
- cmd: npm install | ||
- cmd: npm install -g grunt-cli | ||
|
||
|
||
# Post-install test scripts | ||
test_script: | ||
# Output useful info for debugging | ||
- cmd: node --version | ||
- cmd: npm --version | ||
# Run tests | ||
- cmd: grunt --stack travis | ||
|
||
# Don't actually build | ||
build: off | ||
|
||
on_failure: | ||
- cmd: 7z a coverage.zip coverage | ||
- cmd: appveyor PushArtifact coverage.zip | ||
|
||
|
||
# Set build version format here instead of in the admin panel | ||
version: "{build}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters