mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-02-17 08:50:58 -05:00
Merge pull request #165 from rdxiang/master
Added support for travis CI
This commit is contained in:
commit
4afef46230
4 changed files with 23 additions and 4 deletions
4
.gitignore
vendored
4
.gitignore
vendored
|
@ -71,5 +71,7 @@ FLOOBITS_README.md
|
|||
|
||||
# mongodb
|
||||
db/
|
||||
bin/node/
|
||||
bin/mongo/
|
||||
|
||||
### If you add something here, copy it to the end of .npmignore, too. ###
|
||||
### If you add something here, copy it to the end of .npmignore, too. ###
|
||||
|
|
|
@ -86,6 +86,9 @@ dump.rdb
|
|||
|
||||
# Mongo
|
||||
mongo/
|
||||
bin/node/
|
||||
bin/mongo/
|
||||
|
||||
|
||||
# Karma coverage
|
||||
coverage/
|
||||
coverage/
|
||||
|
|
13
.travis.yml
Normal file
13
.travis.yml
Normal file
|
@ -0,0 +1,13 @@
|
|||
nguage: node_js
|
||||
node_js:
|
||||
- 0.10
|
||||
before_script:
|
||||
- "npm install"
|
||||
- export DISPLAY=:99.0
|
||||
- sh -e /etc/init.d/xvfb start
|
||||
- "./node_modules/.bin/bower install"
|
||||
- "gem install sass"
|
||||
- "./node_modules/.bin/brunch b"
|
||||
|
||||
script:
|
||||
- "./node_modules/.bin/karma start --browsers Firefox --single-run"
|
|
@ -75,8 +75,9 @@ module.exports = function(config) {
|
|||
'karma-chrome-launcher',
|
||||
'karma-phantomjs-launcher',
|
||||
'karma-coffee-preprocessor',
|
||||
'karma-coverage'
|
||||
'karma-coverage',
|
||||
'karma-firefox-launcher'
|
||||
]
|
||||
});
|
||||
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue