some test env

This commit is contained in:
Alexey Kasyanchuk
2018-01-31 19:21:56 +03:00
parent 22902405f9
commit cb39438b26
3 changed files with 59 additions and 1 deletions

17
.appveyor.yml Normal file
View File

@ -0,0 +1,17 @@
image: Visual Studio 2017
platform:
- x64
cache:
- node_modules -> package.json
- '%USERPROFILE%\.electron'
install:
- ps: Install-Product node 8 x64
- yarn
build_script:
- yarn test
test: false

37
.circleci/config.yml Normal file
View File

@ -0,0 +1,37 @@
# Javascript Node CircleCI 2.0 configuration file
#
# Check https://circleci.com/docs/2.0/language-javascript/ for more details
#
version: 2
jobs:
build:
docker:
# specify the version you desire here
- image: circleci/node:8-browsers
# Specify service dependencies here if necessary
# CircleCI maintains a library of pre-built images
# documented at https://circleci.com/docs/2.0/circleci-images/
# - image: circleci/mongo:3.4.4
working_directory: ~/repo
steps:
- checkout
# Download and cache dependencies
- restore_cache:
keys:
- v2-dependencies-{{ checksum "package.json" }}
# fallback to using the latest cache if no exact match is found
- v2-dependencies-
- run: yarn install
- save_cache:
paths:
- node_modules
key: v2-dependencies-{{ checksum "package.json" }}
# run tests!
- run: yarn test

View File

@ -5,9 +5,13 @@
"version": "0.1.0", "version": "0.1.0",
"private": true, "private": true,
"author": "Alexey Kasyanchuk <degitx@gmail.com>", "author": "Alexey Kasyanchuk <degitx@gmail.com>",
"copyright": "© 2018 Draftup Software", "copyright": "Copyright © 2018 Alexey Kasyanchuk",
"homepage": "https://github.com/DEgITx/rats-search", "homepage": "https://github.com/DEgITx/rats-search",
"main": "app/background.js", "main": "app/background.js",
"repository": {
"type": "git",
"url": "https://github.com/DEgITx/rats-search.git"
},
"build": { "build": {
"appId": "com.example.electron-boilerplate", "appId": "com.example.electron-boilerplate",
"files": [ "files": [