diff --git a/.appveyor.yml b/.appveyor.yml new file mode 100644 index 0000000..a61660c --- /dev/null +++ b/.appveyor.yml @@ -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 diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 0000000..04e685a --- /dev/null +++ b/.circleci/config.yml @@ -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 diff --git a/package.json b/package.json index 31a3ef3..8b71229 100644 --- a/package.json +++ b/package.json @@ -5,9 +5,13 @@ "version": "0.1.0", "private": true, "author": "Alexey Kasyanchuk ", - "copyright": "© 2018 Draftup Software", + "copyright": "Copyright © 2018 Alexey Kasyanchuk", "homepage": "https://github.com/DEgITx/rats-search", "main": "app/background.js", + "repository": { + "type": "git", + "url": "https://github.com/DEgITx/rats-search.git" + }, "build": { "appId": "com.example.electron-boilerplate", "files": [