react-data-grid
Version:
Data grid for React
61 lines (54 loc) • 1.96 kB
YAML
version: 1.0.{build}
# Fix line endings in Windows. (runs before repo cloning)
init:
- git config --global core.autocrlf input
environment:
COVERALLS_REPO_TOKEN: 9RRu36GLfbnk5Ri6Y6FpoZU10CW6dlIfy
COVERALLS_SERVICE_NAME: appveyor
COVERALLS_GIT_COMMIT: $(APPVEYOR_REPO_COMMIT)
COVERALLS_GIT_BRANCH : $(APPVEYOR_REPO_BRANCH)
COVERALLS_SERVICE_JOB_ID : $(APPVEYOR_BUILD_ID)
COVERALLS_SERVICE_PULL_REQUEST : $(APPVEYOR_PULL_REQUEST_NUMBER)
access_token:
secure: dHfUgllfTEAqpcoz3iQj8TO0DGh8n90Coqf0+IXT0bIRNSIxGTDu991X+FStY613
npmrc_token:
secure: tfiuuT9j31t1WJZU47yg5Q==
# Install scripts. (runs after repo cloning)
install:
# Decrypt .npmrc.enc file for publishing purposes if not pull request build and not scheduled build
- ps: >-
if($env:APPVEYOR_REPO_BRANCH -ne 'master'){
./ci/publish/decrypt-npmrc.ps1
}
if(!$env:APPVEYOR_SCHEDULED_BUILD -and !$env:appveyor_pull_request_number -and $env:APPVEYOR_REPO_BRANCH -eq 'master') {
./ci/publish/decrypt-npmrc.ps1
}
# Get the latest stable version of Node.js or io.js
- ps: Install-Product node 0
- npm -g install npm@2.11.3
- set PATH=%APPDATA%\npm;%PATH%
- npm install -g gulp
- npm install
- gulp flow-win
# Post-install test scripts.
test_script:
# Output useful info for debugging.
- node --version
- npm --version
# run tests
- gulp test --release true
- gulp coveralls
# Don't actually build.
build: off
cache:
- C:\Users\appveyor\AppData\Roaming\npm\node_modules -> package.json # global npm modules
- C:\Users\appveyor\AppData\Roaming\npm-cache -> package.json # npm cache
- node_modules -> package.json
on_success:
- ps: >-
if($env:APPVEYOR_REPO_BRANCH -ne 'master'){
./ci/publish/publishBranch.ps1
}
if(!$env:APPVEYOR_SCHEDULED_BUILD -and !$env:appveyor_pull_request_number -and $env:APPVEYOR_REPO_BRANCH -eq 'master') {
./ci/publish/publishMaster.ps1
}