sync-glob
Version:
Synchronize files and folders locally by glob patterns, watch option included.
42 lines (34 loc) • 791 B
YAML
# set clone depth
clone_depth: 3
# Test against the latest version of this Node.js version
environment:
matrix:
# node.js
- nodejs_version: "stable"
- nodejs_version: "6"
- nodejs_version: "5"
- nodejs_version: "4"
platform:
- x86
- x64
# Maximum number of concurrent jobs for the project
max_jobs: 4
# fix newlines
init:
- git config --global core.autocrlf true
# Install scripts. (runs after repo cloning)
install:
# Get the latest stable version of Node.js or io.js
- ps: Install-Product node $env:nodejs_version
# install modules
- npm install
# Post-install test scripts.
test_script:
# Output useful info for debugging.
- node --version
- npm --version
# run tests
- npm run lint
- npm run test
# Don't actually build.
build: off