Skip to content

Commit

Permalink
Merge pull request #120 from gnarf/testem
Browse files Browse the repository at this point in the history
add testem commands for watch
  • Loading branch information
dgeb committed Mar 26, 2015
2 parents 0647805 + d77ec3e commit ba4094f
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 9 deletions.
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
sudo: false
language: node_js

before_install:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"

install:
- npm install
- bower install
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
"postinstall": "bower install",
"build": "rm -rf build && BROCCOLI_ENV=test broccoli build build",
"prepublish": "bower install",
"pretest": "npm run build",
"test": "testem ci",
"start": "BROCCOLI_ENV=test broccoli serve"
},
Expand All @@ -43,6 +42,6 @@
"broccoli-sourcemap-concat": "^0.4.3",
"broccoli-string-replace": "0.0.2",
"git-repo-version": "^0.1.1",
"testem": "0.6.38"
"testem": "^0.7.6"
}
}
14 changes: 7 additions & 7 deletions testem.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"framework": "qunit",
"cwd": "build/",
"before_tests": "npm run build",
"src_files": ["lib/**/*.js", "test/**/*.js"],
"serve_files": [
"assets/loader.js",
"assets/vendor.js",
"assets/tests.amd.js",
"assets/test-support.js"
"build/assets/loader.js",
"build/assets/vendor.js",
"build/assets/tests.amd.js",
"build/assets/test-support.js"
],
"launch_in_ci": ["PhantomJS"],
"launch_in_dev": ["PhantomJS", "Chrome"]
"launch_in_ci": ["Firefox"]
}

0 comments on commit ba4094f

Please sign in to comment.