Skip to content

Commit

Permalink
Add travis
Browse files Browse the repository at this point in the history
  • Loading branch information
dixso committed Dec 26, 2016
1 parent 45faf10 commit e1b8852
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 2 deletions.
23 changes: 23 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
sudo: required
dist: trusty
addons:
apt:
sources:
- google-chrome
packages:
- google-chrome-stable
language: node_js
node_js:
- "7"

cache:
directories:
- node_modules

before_script:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- sleep 3

matrix:
fast_finish: true
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@
"description": "Window modal effects with transitions CSS3",
"main": "Gruntfile.js",
"scripts": {
"test": "karma start karma.conf.js",
"start": "grunt browserSync"
"start": "grunt browserSync",
"test": "karma start karma.conf.js --single-run",
"watch:test": "karma start karma.conf.js"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit e1b8852

Please sign in to comment.