Permalink
Browse files

Update travis.yml and run scripts

  • Loading branch information...
1 parent d676259 commit 3c47e22ae704fa378dffcc8fe744e028603cbdb3 @jxnblk jxnblk committed Feb 1, 2016
Showing with 11 additions and 8 deletions.
  1. +6 −1 .travis.yml
  2. +3 −6 karma.conf.js
  3. +2 −1 package.json
View
@@ -1,3 +1,8 @@
language: node_js
node_js:
- - "5.2.0"
+ - "5.5.0"
+addons:
+ firefox: '42.0'
+before_script:
+ - export DISPLAY=:99.0
+ - sh -e /etc/init.d/xvfb start
View
@@ -7,14 +7,11 @@ var postcssCalc = require('postcss-calc')
module.exports = function (config) {
config.set({
browsers: [
- 'Firefox',
- // 'Chrome',
- // 'Safari'
+ 'Firefox'
],
files: [
- './test/index.js',
- // '../css/basscss.css'
+ './test/index.js'
],
frameworks: [ 'chai', 'mocha' ],
@@ -34,7 +31,7 @@ module.exports = function (config) {
},
reporters: [ 'mocha' ],
- // singleRun: true,
+ singleRun: true,
webpack: {
module: {
View
@@ -9,8 +9,9 @@
"prepublish": "mkdir -p css && npm run build && npm run minify",
"start": "postcss -c postcss.config.js -w",
"karma": "karma start",
+ "karma:watch": "karma start --no-single-run",
"mocha": "mocha test/test",
- "test": "./node_modules/.bin/karma start --browsers Firefox --singleRun"
+ "test": "npm run mocha && npm run karma"
},
"dependencies": {
"basscss-align": "^1.0.1",

0 comments on commit 3c47e22

Please sign in to comment.