Add phantomjs polyfill
parent
69d0358651
commit
a0bf3113fc
|
@ -1,8 +1,3 @@
|
||||||
language: node_js
|
language: node_js
|
||||||
node_js:
|
node_js:
|
||||||
- 0.10
|
- 0.10
|
||||||
before_install:
|
|
||||||
- mkdir travis-phantomjs
|
|
||||||
- wget https://s3.amazonaws.com/travis-phantomjs/phantomjs-2.0.0-ubuntu-12.04.tar.bz2 -O $PWD/travis-phantomjs/phantomjs-2.0.0-ubuntu-12.04.tar.bz2
|
|
||||||
- tar -xvf $PWD/travis-phantomjs/phantomjs-2.0.0-ubuntu-12.04.tar.bz2 -C $PWD/travis-phantomjs
|
|
||||||
- export PATH=$PWD/travis-phantomjs:$PATH
|
|
||||||
|
|
|
@ -5,7 +5,9 @@ module.exports = (config) ->
|
||||||
browsers : ['PhantomJS']
|
browsers : ['PhantomJS']
|
||||||
singleRun : true
|
singleRun : true
|
||||||
frameworks : ['mocha']
|
frameworks : ['mocha']
|
||||||
files : ['./node_modules/react/dist/react-with-addons.js', 'tests.webpack.js']
|
files : ['./node_modules/phantomjs-polyfill/bind-polyfill.js',
|
||||||
|
'./node_modules/react/dist/react-with-addons.js',
|
||||||
|
'tests.webpack.js']
|
||||||
reporters : ['dots']
|
reporters : ['dots']
|
||||||
|
|
||||||
preprocessors:
|
preprocessors:
|
||||||
|
|
|
@ -40,6 +40,7 @@
|
||||||
"karma-phantomjs-launcher" : "~0.1",
|
"karma-phantomjs-launcher" : "~0.1",
|
||||||
"karma-webpack" : "^1.6.0",
|
"karma-webpack" : "^1.6.0",
|
||||||
"node-libs-browser" : "^0.5.2",
|
"node-libs-browser" : "^0.5.2",
|
||||||
|
"phantomjs-polyfill" : "0.0.1",
|
||||||
"postcss-loader" : "^0.4.3",
|
"postcss-loader" : "^0.4.3",
|
||||||
"style-loader" : "^0.12.3",
|
"style-loader" : "^0.12.3",
|
||||||
"stylus-loader" : "^1.2.0",
|
"stylus-loader" : "^1.2.0",
|
||||||
|
|
Loading…
Reference in New Issue