From fc5036f7d612a3468fc71c09343179b81d2b73cd Mon Sep 17 00:00:00 2001 From: Raphael Amorim Date: Sun, 19 Nov 2017 13:48:09 -0200 Subject: [PATCH] all: add AppVeyor integration for master-only --- .circleci/config.yml | 11 +---------- README.md | 2 +- appveyor.yml | 38 ++++++++++++++++++++++++++++++++++++++ package.json | 6 +++--- 4 files changed, 43 insertions(+), 14 deletions(-) create mode 100644 appveyor.yml diff --git a/.circleci/config.yml b/.circleci/config.yml index abb6cd8..2794f02 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,23 +1,17 @@ -# Javascript Node CircleCI 2.0 configuration file -# -# Check https://circleci.com/docs/2.0/language-javascript/ for more details -# version: 2 jobs: build: docker: - - image: circleci/node:7.10 + - image: circleci/node:8 working_directory: ~/repo steps: - checkout - # Download and cache dependencies - restore_cache: keys: - v1-dependencies-{{ checksum "package.json" }} - # fallback to using the latest cache if no exact match is found - v1-dependencies- - run: yarn install @@ -27,7 +21,4 @@ jobs: - node_modules key: v1-dependencies-{{ checksum "package.json" }} - # run tests! - run: yarn test - - diff --git a/README.md b/README.md index dd04a24..36a3959 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# [React-TV](https://github.com/raphamorim/react-tv) 📺 • [![circleci status](https://circleci.com/gh/raphamorim/react-tv/tree/master.svg?style=shield)](https://circleci.com/gh/raphamorim/react-tv) [![npm version](https://img.shields.io/npm/v/react-tv.svg?style=flat)](https://www.npmjs.com/package/react-tv) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](CONTRIBUTING.md#pull-requests) +# [React-TV](https://github.com/raphamorim/react-tv) · [![license](https://img.shields.io/npm/l/react-tv.svg)]() [![npm version](https://img.shields.io/npm/v/react-tv.svg?style=flat)](https://www.npmjs.com/package/react-tv) [![circleci status](https://circleci.com/gh/raphamorim/react-tv/tree/master.svg?style=shield)](https://circleci.com/gh/raphamorim/react-tv) [![Build status](https://ci.appveyor.com/api/projects/status/h851w6fprabjuifb/branch/master?svg=true)](https://ci.appveyor.com/project/raphamorim/react-tv/branch/master) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](CONTRIBUTING.md#pull-requests) >

React Renderer for low memory applications.

React Packager for TVs (WebOS, Tizen, Orsay).

You can use it separately. Currently under development.

diff --git a/appveyor.yml b/appveyor.yml new file mode 100644 index 0000000..1e631e1 --- /dev/null +++ b/appveyor.yml @@ -0,0 +1,38 @@ +image: Visual Studio 2017 + +# Fix line endings in Windows. (runs before repo cloning) +init: + - git config --global core.autocrlf input + +environment: + matrix: + - nodejs_version: 8 + +# Finish on first failed build +matrix: + fast_finish: true + +platform: + - x64 + +branches: + only: + - master + +# Disable Visual Studio build and deploy +build: off +deploy: off + +install: + - ps: Install-Product node $env:nodejs_version $env:platform + - yarn install + +test_script: + - node --version + - yarn --version + - yarn prettier:stat + - yarn jest:ci + +cache: + - node_modules + - "%LOCALAPPDATA%/Yarn" diff --git a/package.json b/package.json index 143f9d1..0ae111d 100644 --- a/package.json +++ b/package.json @@ -83,9 +83,9 @@ "webos" ], "engines": { - "node": ">=6", - "npm": ">=3", - "yarn": ">=0.22" + "node": ">=8", + "npm": ">=4", + "yarn": ">=0.27" }, "author": "Raphael Amorim ", "license": "MIT",