Skip to content

Commit

Permalink
Adding Travis Integration (#2)
Browse files Browse the repository at this point in the history
* Add travis file
* Add coveralls
* Add travis badge to readme
  • Loading branch information
saminzadeh authored and yurishkuro committed Apr 12, 2017
1 parent 5f05a8b commit f8e68d0
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 5 deletions.
15 changes: 13 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,13 @@
language: node
after_success: npm run coverage
language: node_js
node_js:
- '6'
cache:
directories:
- node_modules
script:
- npm run lint
- npm run coverage
- npm run build
after_success:
- npm install -g coveralls
- cat coverage/lcov.info | coveralls
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## WARNING: This is Alpha software and not intended for use until a stable release.

# Jaeger UI
# Jaeger UI [![Build Status](https://travis-ci.org/uber/jaeger-ui.svg?branch=master)](https://travis-ci.org/uber/jaeger-ui)


Visualize distributed tracing with Jaeger. [See the demo](https://uber.github.io/jaeger-ui/).
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,7 @@
"build:docs": "HOMEPAGE=http://uber.github.io/jaeger-ui npm run set-homepage && REACT_APP_DEMO=true REACT_APP_GH_PAGES=true npm run build && npm run clear-homepage",
"eject": "react-scripts eject",
"test": "react-scripts test --env=jsdom",
"test:coverage": "npm run test -- --coverage",
"test:all": "npm run lint && CI=1 npm run test:coverage",
"coverage": "npm run test -- --coverage",
"lint": "npm run eslint && npm run prettier && npm run flow",
"eslint": "eslint .",
"prettier": "prettier --single-quote --trailing-comma es5 --write \"src/**/*.js\"",
Expand Down

0 comments on commit f8e68d0

Please sign in to comment.