mirror of
https://github.com/nuxt/nuxt.git
synced 2024-12-05 20:07:16 +00:00
29 lines
585 B
YAML
29 lines
585 B
YAML
# Test against the latest version of this Node.js version
|
|
environment:
|
|
matrix:
|
|
- nodejs_version: "6"
|
|
- nodejs_version: "8"
|
|
|
|
cache:
|
|
- "%LOCALAPPDATA%\\Yarn"
|
|
- node_modules
|
|
|
|
# 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
|
|
- yarn install
|
|
|
|
# Post-install test scripts.
|
|
test_script:
|
|
# Output useful info for debugging.
|
|
- node --version
|
|
- npm --version
|
|
- yarn --version
|
|
# run tests
|
|
- yarn run test
|
|
|
|
# Don't actually build.
|
|
build: off
|