Skip to content

Commit

Permalink
Migrate to CirecleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
nightskylark committed Sep 6, 2018
1 parent b959696 commit 516b839
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 36 deletions.
27 changes: 27 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
version: 2
jobs:
build:
docker:
- image: circleci/node:8-browsers

steps:
- checkout

- run:
name: Install packages
command: npm install --unsafe-perm
- run:
name: Run tests with latest DevExtreme
command: npm run test
- run:
name: Install DevExtreme 17.2
command: npm install [email protected] --unsafe-perm
- run:
name: Run tests with DevExtreme 17.2
command: npm run test
- run:
name: Install DevExtreme 17.1
command: npm install [email protected] --unsafe-perm
- run:
name: Run tests with DevExtreme 17.1
command: npm run test
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
node_modules
npm-debug.log
dist/
shippable/
locale-data/
devextreme-intl-*.tgz
6 changes: 1 addition & 5 deletions karma.conf.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
module.exports = function(config) {
config.set({
browsers: ['PhantomJS', 'Chrome'],
browsers: ['Chrome'],
frameworks: ['qunit'],
files: [
'node_modules/intl/dist/Intl.min.js',
'node_modules/intl/locale-data/complete.js',

{ pattern: 'tests/index.js', watched: false }
],
preprocessors: {
Expand All @@ -15,7 +12,6 @@ module.exports = function(config) {
'karma-webpack',
'karma-qunit',
'karma-junit-reporter',
'karma-phantomjs-launcher',
'karma-chrome-launcher'
],
reporters: [
Expand Down
15 changes: 8 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,13 @@
"cldrjs": "^0.3.1",
"devextreme": "17.1 - 18.1",
"eslint": "^3.10.2",
"intl": "^1.2.5",
"jquery": "^3.0.0",
"karma": "^0.13.22",
"karma-chrome-launcher": "^1.0.1",
"karma": "^2.0.5",
"karma-chrome-launcher": "^2.2.0",
"karma-junit-reporter": "^1.1.0",
"karma-phantomjs-launcher": "^1.0.0",
"karma-qunit": "^0.1.9",
"karma-qunit": "^1.2.1",
"karma-webpack": "^1.8.0",
"npm-run-all": "^4.1.3",
"object-assign": "^4.1.0",
"parallelshell": "^2.0.0",
"phantomjs-prebuilt": "^2.1.7",
Expand All @@ -41,9 +40,11 @@
"scripts": {
"prepare-build": "node scripts/locale-data-generator.js",
"build": "npm run prepare-build -s && webpack && webpack --min",
"test-dev": "npm run prepare-build -s && parallelshell \"webpack --dev\" \"karma start --browsers PhantomJS\"",
"build:watch": "npm run prepare-build -s && webpack --dev",
"karma:watch": "karma start",
"test-dev": "npm run prepare-build -s && npm-run-all --parallel build:watch karma:watch",
"lint": "eslint .",
"test": "npm run build -s && npm run lint -s && karma start --browsers PhantomJS --single-run",
"test": "npm run build -s && npm run lint -s && karma start --single-run",
"pack": "npm run test -s && npm pack"
},
"keywords": [
Expand Down
23 changes: 0 additions & 23 deletions shippable.yml

This file was deleted.

0 comments on commit 516b839

Please sign in to comment.