e913dc5f12
- move dtslint (checkTypes) away from Gruntfile.js (as it disturbs debugging `grunt`) and call it directly as npm-script in travis-ci - re-group task definition in Gruntfile.js - use a multi-job travis build to run linting, format, dtslint and tests in parallel - run only "npm test" on appveyor - rename Grunt-tasks for be more descriptive - SAUCE_USERNAME is not a secret variable anymore it can be easily guessed anyway and the [secure] value messes up with a lot of the log output - linting on commit disable during transition
37 lines
768 B
YAML
37 lines
768 B
YAML
# Test against these versions of Node.js
|
|
environment:
|
|
matrix:
|
|
- nodejs_version: "10"
|
|
|
|
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 ci
|
|
|
|
|
|
# Post-install test scripts
|
|
test_script:
|
|
# Output useful info for debugging
|
|
- cmd: node --version
|
|
- cmd: npm --version
|
|
# Run tests
|
|
- cmd: npm run test
|
|
|
|
# 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}"
|