Add phantomjs polyfill
parent
69d0358651
commit
a0bf3113fc
|
@ -1,8 +1,3 @@
|
|||
language: node_js
|
||||
node_js:
|
||||
- 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']
|
||||
singleRun : true
|
||||
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']
|
||||
|
||||
preprocessors:
|
||||
|
|
|
@ -40,6 +40,7 @@
|
|||
"karma-phantomjs-launcher" : "~0.1",
|
||||
"karma-webpack" : "^1.6.0",
|
||||
"node-libs-browser" : "^0.5.2",
|
||||
"phantomjs-polyfill" : "0.0.1",
|
||||
"postcss-loader" : "^0.4.3",
|
||||
"style-loader" : "^0.12.3",
|
||||
"stylus-loader" : "^1.2.0",
|
||||
|
|
Loading…
Reference in New Issue