Permalink
Fetching contributors…
Cannot retrieve contributors at this time
45 lines (40 sloc) 1.49 KB
# Test against this version of Node.js
environment:
matrix:
- nodejs_version: "8"
cache:
- skeleton-esnext/node_modules
- skeleton-esnext/jspm_packages
- skeleton-esnext-webpack/node_modules
- skeleton-typescript/node_modules
- skeleton-typescript/jspm_packages
- skeleton-typescript-webpack/node_modules
- "%LOCALAPPDATA%/Yarn"
# 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
# - npm install -g jspm
# install modules
- cd skeleton-esnext-webpack && yarn --ignore-engines
- cd skeleton-typescript-webpack && yarn --ignore-engines
# - cd skeleton-esnext && yarn install --no-optional
# - cd skeleton-esnext && jspm install
# - cd skeleton-typescript && yarn install --no-optional
# - cd skeleton-typescript && jspm install
# Post-install test scripts.
test_script:
# Output useful info for debugging.
- node --version
- yarn --version
# run tests
- cd skeleton-typescript-webpack && yarn start -- webpack.build
- cd skeleton-esnext-webpack && yarn start -- webpack.build
- cd skeleton-typescript-webpack && yarn start -- webpack.build.development
- cd skeleton-esnext-webpack && yarn start -- webpack.build.development
- cd skeleton-typescript-webpack && yarn start -- test.all
- cd skeleton-esnext-webpack && yarn start -- test.all
# - cd skeleton-esnext && npm run test
# - cd skeleton-typescript && npm run test
# Don't actually build.
build: off