Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Travis config #538

Merged
merged 7 commits into from
May 31, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,24 @@
sudo: required
dist: xenial
dist: trusty
addons:
apt:
sources:
- google-chrome
packages:
- google-chrome-stable
- google-chrome-beta
code_climate:
repo_token: e87e6bf1c253e0555437ebd23235fdfe2749b889358e7c6d100e4ea5b4f2e091
language: node_js
node_js:
- "6"
- "7"
before_install:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- sh -e /etc/init.d/xvfb start &
- sleep 3
before_script:
- yarn build
script:
- yarn test
after_script:
- cat coverage/lcov.info | codeclimate
cache:
directories:
- node_modules
3 changes: 2 additions & 1 deletion karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,8 @@ module.exports = function (config) {
ChromeHeadless: {
base: 'Chrome',
flags: [
'--headless',
'--incognito',
// '--headless',
'--disable-gpu',
'--no-sandbox',
// Without a remote debugging port, Google Chrome exits immediately.
Expand Down
26 changes: 13 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"lint": "node_modules/.bin/standard",
"karma": "node node_modules/karma/bin/karma start karma.conf.js --single-run",
"tape": "node node_modules/tape/bin/tape test/cli_test-*.js",
"test": "yarn run tape && yarn run karma",
"test": "yarn tape && yarn karma",
"live": "live-server ./test/examples",
"jison": "gulp jison_legacy",
"live_server": "gulp live-server",
Expand Down Expand Up @@ -59,14 +59,14 @@
"which": "^1.2.14"
},
"devDependencies": {
"async": "^2.3.0",
"async": "^2.4.1",
"babel-core": "^6.24.1",
"babel-loader": "^7.0.0",
"babel-plugin-transform-remove-strict-mode": "^0.0.2",
"babel-preset-env": "^1.4.0",
"babel-preset-env": "^1.5.1",
"clone": "^2.1.1",
"codeclimate-test-reporter": "0.4.1",
"css-loader": "^0.28.0",
"css-loader": "^0.28.4",
"dox": "^0.9.0",
"event-stream": "^3.3.4",
"extract-text-webpack-plugin": "^2.1.0",
Expand Down Expand Up @@ -99,28 +99,28 @@
"gulp-vartree": "^2.0.1",
"hogan.js": "^3.0.2",
"inject-loader": "^3.0.0",
"jasmine": "2.5.3",
"jasmine": "2.6.0",
"jasmine-es6": "0.4.0",
"jison": "^0.4.17",
"jsdom": "^9.12.0",
"karma": "^1.6.0",
"karma-chrome-launcher": "^2.0.0",
"jsdom": "^11.0.0",
"karma": "^1.7.0",
"karma-chrome-launcher": "^2.1.1",
"karma-jasmine": "^1.1.0",
"karma-webpack": "^2.0.3",
"less": "^2.7.2",
"less-loader": "^4.0.3",
"less-loader": "^4.0.4",
"live-server": "^1.2.0",
"map-stream": "0.0.7",
"marked": "^0.3.6",
"mock-browser": "^0.92.14",
"npm-check-updates": "^2.11.0",
"npm-check-updates": "^2.11.2",
"phantomjs-prebuilt": "^2.1.14",
"require-dir": "^0.3.1",
"rimraf": "^2.6.1",
"standard": "^10.0.2",
"style-loader": "^0.16.1",
"style-loader": "^0.18.1",
"tape": "^4.6.3",
"webpack": "^2.4.1",
"webpack-node-externals": "^1.5.4"
"webpack": "^2.6.1",
"webpack-node-externals": "^1.6.0"
}
}
2 changes: 1 addition & 1 deletion todo.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
- babel-plugin-transform-remove-strict-mode
- need to remove it after upgrading to d3 v4
- rewrite live editor
- Fix Travis CI
- Fix CodeClimate
- What is live-server ?
- Get familar with jison
- How to generate doc?
- webpack warning: lodash too big
- add converalls
Loading