From 4e39ab42183b1a7bddf16a35d9589976c6b47d09 Mon Sep 17 00:00:00 2001 From: DaAwesomeP Date: Mon, 23 Feb 2015 14:43:07 -0600 Subject: [PATCH] Add Travis CI test --- .gitignore | 4 ++++ .travis.yml | 16 ++++++++++++++++ README.md | 2 +- 3 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 .travis.yml diff --git a/.gitignore b/.gitignore index 45ba46273..949c80f57 100644 --- a/.gitignore +++ b/.gitignore @@ -4,6 +4,10 @@ build/* +npm-debug.log + node_modules/* drivers/npm/node_modules/ + +drivers/npm/npm-debug.log diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 000000000..c9692fa61 --- /dev/null +++ b/.travis.yml @@ -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 \ No newline at end of file diff --git a/README.md b/README.md index 7911516e0..7772228d4 100644 --- a/README.md +++ b/README.md @@ -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