Use proper PhantomJS library and run the tests as separate step

* add dependency for phantomjs
This commit is contained in:
Morris Jobke 2016-06-13 11:37:36 +02:00
parent 577cf92009
commit 74a93290aa
No known key found for this signature in database
GPG Key ID: 9CE5ED29E7FCD38A
2 changed files with 6 additions and 2 deletions

View File

@ -1,5 +1,9 @@
build: build:
backend: jsunit:
image: morrisjobke/nextcloud-ci-jsunit:1.0.2
commands:
- ./autotest-js.sh
sqlite:
image: morrisjobke/nextcloud-ci-php7:1.0 image: morrisjobke/nextcloud-ci-php7:1.0
commands: commands:
- git submodule update --init - git submodule update --init

View File

@ -16,7 +16,7 @@
"karma-junit-reporter": "*", "karma-junit-reporter": "*",
"karma-coverage": "*", "karma-coverage": "*",
"karma-phantomjs-launcher": "*", "karma-phantomjs-launcher": "*",
"phantomjs": "*", "phantomjs-prebuilt": "*",
"jasmine-core": "~2.3.4" "jasmine-core": "~2.3.4"
}, },
"engine": "node >= 0.8" "engine": "node >= 0.8"