Browse Source

Merge pull request #102 from ckeditor/t/101

Added Travis configuration and filled deps/devDeps in package.json.
Piotrek Koszuliński 9 years ago
parent
commit
bcff206dde

+ 24 - 0
packages/ckeditor5-ui/.travis.yml

@@ -0,0 +1,24 @@
+sudo: required
+dist: trusty
+addons:
+  apt:
+    sources:
+      - google-chrome
+    packages:
+      - google-chrome-stable
+language: node_js
+node_js:
+  - "6"
+cache:
+  - node_modules
+before_install:
+  - export CHROME_BIN=chromium-browser
+  - export DISPLAY=:99.0
+  - sh -e /etc/init.d/xvfb start
+install:
+  - npm install
+  - npm install @ckeditor/ckeditor5-dev-tests
+script:
+  - node_modules/.bin/ckeditor5-dev-tests --coverage
+after_success:
+  - node_modules/.bin/codeclimate-test-reporter < .build/coverage/lcov.info

+ 5 - 0
packages/ckeditor5-ui/README.md

@@ -1,6 +1,11 @@
 CKEditor 5 UI Framework
 ========================================
 
+[![npm version](https://badge.fury.io/js/%40ckeditor%2Fckeditor5-ui.svg)](https://www.npmjs.com/package/@ckeditor/ckeditor5-ui)
+[![Build Status](https://travis-ci.org/ckeditor/ckeditor5-ui.svg)](https://travis-ci.org/ckeditor/ckeditor5-ui)
+[![Test Coverage](https://codeclimate.com/github/ckeditor/ckeditor5-ui/badges/coverage.svg)](https://codeclimate.com/github/ckeditor/ckeditor5-ui/coverage)
+[![Code Climate](https://codeclimate.com/github/ckeditor/ckeditor5-ui/badges/gpa.svg)](https://codeclimate.com/github/ckeditor/ckeditor5-ui)
+[![Dependency Status](https://david-dm.org/ckeditor/ckeditor5-ui/status.svg)](https://david-dm.org/ckeditor/ckeditor5-ui#info=dependencies)
 [![devDependency Status](https://david-dm.org/ckeditor/ckeditor5-ui/dev-status.svg)](https://david-dm.org/ckeditor/ckeditor5-ui#info=devDependencies)
 
 The UI framework of CKEditor 5. More information about the project can be found at the following url: <https://github.com/ckeditor/ckeditor5>.

+ 4 - 1
packages/ckeditor5-ui/package.json

@@ -5,9 +5,12 @@
   "keywords": [
     "CKEditor"
   ],
-  "dependencies": {},
+  "dependencies": {
+    "ckeditor5-utils": "ckeditor/ckeditor5-utils"
+  },
   "devDependencies": {
     "@ckeditor/ckeditor5-dev-lint": "^1.0.1",
+    "ckeditor5-core": "ckeditor/ckeditor5-core",
     "del": "^2.2.0",
     "gulp": "^3.9.0",
     "guppy-pre-commit": "^0.4.0",