Skip to content

Commit

Permalink
replaced Travis with Appveyor
Browse files Browse the repository at this point in the history
  • Loading branch information
kegi committed Oct 20, 2021
1 parent ec050f2 commit 08df10e
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 17 deletions.
12 changes: 0 additions & 12 deletions .travis.yml

This file was deleted.

6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
</div>

<div align="center">
<a href="https://app.travis-ci.com/github/kegi/react-library-template">
<img alt="build status" style="margin:3px"
src="https://img.shields.io/travis/com/kegi/react-library-template?style=flat-square" />
<a href="https://ci.appveyor.com/project/kegi/react-library-template/history">
<img alt="test coverage" style="margin:3px"
src="https://img.shields.io/appveyor/build/kegi/react-library-template?style=flat-square" />
</a>
<a href="https://coveralls.io/github/kegi/react-library-template">
<img alt="test coverage" style="margin:3px"
Expand Down
25 changes: 25 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
version: '{build}'
skip_tags: true
environment:
matrix:
- nodejs_version: 'LTS'
COVERALLS_REPO_TOKEN:
secure: y4D6PYVkUtDh1fK0NDTaOE/UlKDMoF8R46sgpWlXtzYfYygyOfKmsWUBO3gQ9MGk
CHROMATIC_PROJECT_TOKEN:
secure: RbnQxPdCM3kLUFiGY3HNow==
init:
- git config --global core.autocrlf input
install:
- ps: Install-Product node $env:nodejs_version
- yarn install --ignore-scripts
build: off
test_script:
- node --version
- yarn test
- yarn build
on_success:
- yarn publish:code-coverage
- yarn publish:chromatic
cache:
- node_modules -> package.json

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@kegi/react-library-template",
"version": "0.0.2",
"version": "0.0.3",
"description": "React library template",
"author": "Kevin Gilbert",
"repository": "kegi/react-library-template",
Expand All @@ -19,7 +19,7 @@
"deploy": "gh-pages -d demo/build",
"publish:dist": "yarn build && node scripts/prepareDist.js && yarn publish dist --access public",
"publish:code-coverage": "yarn test:coverage && cat ./coverage/lcov.info | coveralls",
"publish:chromatic": "npx chromatic --project-token=415ab169a741",
"publish:chromatic": "npx chromatic",
"test": "react-scripts test --watchAll=false",
"test:watch": "react-scripts test",
"test:coverage": "react-scripts test --watchAll=false --coverage",
Expand Down

0 comments on commit 08df10e

Please sign in to comment.