mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-28 20:22:53 +00:00
Run tests e2e in Travis
This commit is contained in:
parent
b02920c43c
commit
6fc1141477
@ -4,6 +4,9 @@ node_js:
|
|||||||
- "5.1"
|
- "5.1"
|
||||||
before_script:
|
before_script:
|
||||||
- npm install grunt-cli -g
|
- npm install grunt-cli -g
|
||||||
|
- "export DISPLAY=:99.0"
|
||||||
|
- "sh -e /etc/init.d/xvfb start"
|
||||||
|
- sleep 5
|
||||||
script:
|
script:
|
||||||
- grunt
|
- grunt
|
||||||
- npm test
|
- npm test
|
||||||
|
@ -41,6 +41,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
|||||||
- Add test e2e enviroment
|
- Add test e2e enviroment
|
||||||
- Add `chai-as-promised` npm module to devDependencies
|
- Add `chai-as-promised` npm module to devDependencies
|
||||||
- Basic set of tests for clock module
|
- Basic set of tests for clock module
|
||||||
|
- Run e2e test in Travis
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
- Update .gitignore to not ignore default modules folder.
|
- Update .gitignore to not ignore default modules folder.
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "sh run-start.sh",
|
"start": "sh run-start.sh",
|
||||||
"postinstall": "sh installers/postinstall/postinstall.sh",
|
"postinstall": "sh installers/postinstall/postinstall.sh",
|
||||||
"test": "./node_modules/mocha/bin/mocha tests/unit --recursive",
|
"test": "./node_modules/mocha/bin/mocha tests --recursive",
|
||||||
"test:unit": "./node_modules/mocha/bin/mocha tests/unit --recursive",
|
"test:unit": "./node_modules/mocha/bin/mocha tests/unit --recursive",
|
||||||
"test:e2e": "./node_modules/mocha/bin/mocha tests/e2e --recursive"
|
"test:e2e": "./node_modules/mocha/bin/mocha tests/e2e --recursive"
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user