parent
c69079b5b4
commit
b986bd668c
@ -1,14 +1,21 @@
|
|||||||
language: node_js
|
language: node_js
|
||||||
node_js:
|
node_js:
|
||||||
- "4.2"
|
- "4"
|
||||||
sudo: false
|
sudo: false
|
||||||
before_install:
|
before_install:
|
||||||
- export WAPPALYZER_ROOT=$TRAVIS_BUILD_DIR
|
- export WAPPALYZER_ROOT=$TRAVIS_BUILD_DIR
|
||||||
- export WAPPALYZER_NODE_PATH=$TRAVIS_BUILD_DIR
|
- export WAPPALYZER_NODE_PATH=$TRAVIS_BUILD_DIR
|
||||||
- export PATH=$PATH:$TRAVIS_BUILD_DIR/bin
|
- export PATH=$PATH:$TRAVIS_BUILD_DIR/bin
|
||||||
install:
|
- ln -s docker/node/package.json package.json
|
||||||
- npm install jsonlint jpm imagemin-cli svgo -g
|
|
||||||
- ln -s docker/node/package.json package.json && npm install
|
|
||||||
- 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
|
|
||||||
script: wappalyzer build
|
|
||||||
after_script: ls -l --block-size=kB build
|
after_script: ls -l --block-size=kB build
|
||||||
|
cache:
|
||||||
|
directories:
|
||||||
|
- node_modules
|
||||||
|
env:
|
||||||
|
- CXX=g++-4.8
|
||||||
|
addons:
|
||||||
|
apt:
|
||||||
|
sources:
|
||||||
|
- ubuntu-toolchain-r-test
|
||||||
|
packages:
|
||||||
|
- g++-4.8
|
||||||
|
@ -1,7 +1,26 @@
|
|||||||
{
|
{
|
||||||
|
"name": "wappalyzer-test",
|
||||||
|
"private": true,
|
||||||
|
"license": "GPLv3",
|
||||||
|
"bugs": {
|
||||||
|
"url": "https://github.com/AliasIO/Wappalyzer/issues"
|
||||||
|
},
|
||||||
|
"homepage": "https://github.com/AliasIO/Wappalyzer",
|
||||||
|
"description": "Build test for Wappalyzer",
|
||||||
|
"repository": "AliasIO/Wappalyzer",
|
||||||
|
"scripts": {
|
||||||
|
"test": "./bin/wappalyzer build"
|
||||||
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"file-type": "3.3.*",
|
"file-type": "3.4.*",
|
||||||
"is-svg": "1.1.*",
|
"is-svg": "1.1.*",
|
||||||
"read-chunk": "1.0.*"
|
"read-chunk": "1.0.*",
|
||||||
|
"jsonlint": "*",
|
||||||
|
"jpm": "*",
|
||||||
|
"imagemin-cli": "*",
|
||||||
|
"svgo": "*"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": ">= 4"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in new issue