Skip to content

Commit

Permalink
feat: Add travis support
Browse files Browse the repository at this point in the history
* deps: Update depss and remove lodash

* feat: Update meta files

* style: Move style to vixo

* build(ci): Fix travis config

* refactor: Make code more readable
  • Loading branch information
ChrisAlderson committed Dec 17, 2017
1 parent 167a535 commit 58848b3
Show file tree
Hide file tree
Showing 32 changed files with 9,248 additions and 6,667 deletions.
10 changes: 10 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
module.exports = {
extends: 'vixo',
rules: {
'require-jsdoc': 'off',
'valid-jsdoc': 'off',
// TODO: Remove rules
'no-param-reassign': 'off',
'prefer-rest-params': 'off'
}
}
38 changes: 31 additions & 7 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,33 @@
node_modules
npm-debug.log
coverage.html
.DS_Store
### Node template
# Logs
logs
*.log
npm-debug.log*

# Runtime data
pids
*.pid
*.seed

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov
.coverage_data
cover_html
.c9revisions

# Coverage directory used by tools like istanbul
coverage
.nyc_output

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# node-waf configuration
.lock-wscript

# Compiled binary addons (http://nodejs.org/api/addons.html)
build/Release

# Dependency directory
# https://docs.npmjs.com/misc/faq#should-i-check-my-node-modules-folder-into-git
node_modules

# Files generated by 'npm pack'
*.tgz
11 changes: 0 additions & 11 deletions .jshintrc

This file was deleted.

34 changes: 21 additions & 13 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,23 @@
sudo: false

language: node_js

node_js:
- "stable"
- "unstable"
- "6"
- "4"
- "0.12"
script: make travis-test
matrix:
fast_finish: true
allow_failures:
- node_js: unstable
include:
- env: BENCHMARK=true
script: "node benchmark/benchmark.js --regex '^(?!.*highmem)'"
- 6
- 7
- 8
- 9

cache:
directories:
- node_modules

install:
- npm i

script:
- npm run lint
- npm run test

after_success:
- npm run coveralls
File renamed without changes.
39 changes: 0 additions & 39 deletions Makefile

This file was deleted.

0 comments on commit 58848b3

Please sign in to comment.