Skip to content

Commit 25e4726

Browse files
committed
fix(package): add travis and update readme
1 parent c0a1c84 commit 25e4726

File tree

4 files changed

+19
-3
lines changed

4 files changed

+19
-3
lines changed

.travis.yml

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
language: node_js
2+
node_js:
3+
- "12"
4+
before_deploy: npm run build
5+
deploy:
6+
provider: pages
7+
local_dir: build
8+
skip_cleanup: true
9+
github_token: $GITHUB_TOKEN # Set in the settings page of your repository, as a secure variable
10+
keep_history: true
11+
on:
12+
branch: master

README.md

+6-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
1-
# TodoApp built with React Hooks and Redux
1+
# TodoMVC built with React Hooks and Redux
22

3-
The well-known TodoApp built with React Hooks and Redux in a well-structured way.
3+
[![Build Status](https://travis-ci.com/blacksonic/todomvc-react-hooks.svg?branch=master)](https://travis-ci.com/blacksonic/todomvc-react-hooks)
4+
5+
The well-known TodoMVC built with React Hooks and Redux in a structured and testable way.
6+
7+
![TodoMVC React Hooks](./images/screenshot.png "TodoMVC React Hooks")
48

59
[Edit and try it out online](https://codesandbox.io/s/github/blacksonic/todoapp-react-hooks)
610

images/screenshot.png

44.6 KB
Loading

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
},
88
"scripts": {
99
"start": "PORT=9300 BROWSER=none react-scripts start",
10-
"build": "react-scripts build",
10+
"build": "CI=false react-scripts build",
1111
"test": "npm run test:unit",
1212
"test:unit": "react-scripts test --watchAll=false",
1313
"test:e2e": "start-server-and-test start http://localhost:9300 cypress",

0 commit comments

Comments
 (0)