Add Travis CI test

main
DaAwesomeP 10 years ago
parent 4dd571e9fa
commit 4e39ab4218

4
.gitignore vendored

@ -4,6 +4,10 @@
build/*
npm-debug.log
node_modules/*
drivers/npm/node_modules/
drivers/npm/npm-debug.log

@ -0,0 +1,16 @@
language: node_js
node_js:
- "0.10"
before_install:
- export WAPPALYZER_ROOT=$TRAVIS_BUILD_DIR
- export PATH=$PATH:$TRAVIS_BUILD_DIR/bin
install:
- sudo apt-get update -y
- sudo apt-get install -y curl zip sudo -y --force-yes
- sudo apt-get clean
- npm install jsonlint -g
- mkdir mozilla && curl -L https://ftp.mozilla.org/pub/mozilla.org/labs/jetpack/jetpack-sdk-latest.tar.gz | tar xvzC mozilla && ln -s $WAPPALYZER_ROOT/mozilla/addon-sdk-*/bin/cfx bin/cfx
- mkdir phantomjs && curl -L https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.8-linux-x86_64.tar.bz2 | tar xvjC phantomjs && ln -s $WAPPALYZER_ROOT/phantomjs/phantomjs-*-linux-x86_64/bin/phantomjs bin/phantomjs
before_script: mkdir build
script: wappalyzer build
after_script: ls build

@ -1,4 +1,4 @@
# Wappalyzer
# Wappalyzer [![Travis](https://img.shields.io/travis/ElbertF/Wappalyzer.svg?style=flat-square)]()
[Wappalyzer](https://wappalyzer.com/) is a
[cross-platform](https://github.com/ElbertF/Wappalyzer/wiki/Drivers) utility that uncovers the