Skip to content
Snippets Groups Projects
Unverified Commit 2730bb53 authored by aeschylus's avatar aeschylus Committed by GitHub
Browse files

Merge branch 'master' into update-readme

parents 5c05fb89 59cf5607
No related branches found
No related tags found
No related merge requests found
language: node_js
node_js:
- 'node'
before_install:
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
- chmod +x ./cc-test-reporter
before_script:
- npm install
# Pipe the coverage data to Code Climate
after_script:
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
*NOTE: This README reflects the in development version of Mirador 3. For previous versions, please reference that release's README directly. Latest 2.x release: [v.2.7.0](https://github.com/ProjectMirador/mirador/tree/v2.7.0)*
# Mirador
[![Build Status](https://travis-ci.org/ProjectMirador/mirador.svg?branch=master)](https://travis-ci.org/ProjectMirador/mirador) [![Test Coverage](https://api.codeclimate.com/v1/badges/85265abbd7ce99df2d90/test_coverage)](https://codeclimate.com/github/ProjectMirador/mirador/test_coverage)
## Running Mirador locally
......
......@@ -3,7 +3,7 @@
"src/**/*.{js,jsx}"
],
"coverageDirectory": "<rootDir>/coverage",
"coverageReporters": ["html"],
"coverageReporters": ["html", "lcov"],
"setupFiles": [
"<rootDir>/setupJest.js"
],
......
......@@ -6,8 +6,7 @@
"scripts": {
"lint": "node_modules/.bin/eslint ./",
"server": "node_modules/.bin/http-server",
"test": "npm run build && npm run lint && jest -c jest.json",
"test:coverage": "jest -c jest.json --coverage",
"test": "npm run build && npm run lint && jest -c jest.json --coverage",
"test:watch": "jest -c jest.json --watch",
"build": "webpack --mode=production",
"build:dev": "webpack --mode=development",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment