Skip to content

Commit bc0aee2

Browse files
authored
Merge pull request #51 from netlify/travis
Enable travis
2 parents 3daec2f + ae75dcf commit bc0aee2

File tree

3 files changed

+15
-2
lines changed

3 files changed

+15
-2
lines changed

.travis.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
dist: trusty
2+
language: node_js
3+
node_js:
4+
- 'node'
5+
sudo: false
6+
cache:
7+
yarn: true
8+
directories:
9+
- ~/.npm
10+
install:
11+
- yarn
12+
script:
13+
- yarn test

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# Netlify Identity Widget
2+
[![Build Status](https://travis-ci.org/netlify/netlify-identity-widget.svg?branch=master)](https://travis-ci.org/netlify/netlify-identity-widget)
23

34
A component used to authenticate with Netlify's Identity API. [Live demo](https://identity.netlify.com)
45

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@
99
"prestart": "npm run build",
1010
"build": "cross-env NODE_ENV=production webpack --progress",
1111
"prebuild": "mkdirp build",
12-
"test": "npm run -s lint",
13-
"lint": "eslint src test",
12+
"test": "eslint src",
1413
"release": "node ./script/release.js",
1514
"format": "prettier --write 'src/**/*.js'",
1615
"format-preview": "prettier --list-different 'src/**/*.js'"

0 commit comments

Comments
 (0)