Skip to content

Commit

Permalink
adding travis file.
Browse files Browse the repository at this point in the history
  • Loading branch information
plhyhc committed Jun 24, 2018
1 parent a4bd7a3 commit b32b7fb
Show file tree
Hide file tree
Showing 2 changed files with 76 additions and 0 deletions.
58 changes: 58 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage

# nyc test coverage
.nyc_output

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

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

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

# Dependency directories
node_modules/
jspm_packages/

# Typescript v1 declaration files
typings/

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env
18 changes: 18 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
language: node_js

node_js: 8

branches:
only:
- master

before_install:
- sudo apt-get update
- sudo apt-get install build-essential libavahi-compat-libdnssd-dev
- sudo npm install -g --unsafe-perm homebridge

before_script:
- "npm install -g homebridge-garage-door-wsensor"

script: "sudo homebridge & sleep 30; kill $!;"

0 comments on commit b32b7fb

Please sign in to comment.