summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2016-02-11 22:36:29 +0100
committerBernhard Posselt <dev@bernhard-posselt.com>2016-02-11 22:36:29 +0100
commit13e6e80281a0c7ddc980006ae39ae3bae4cb03d1 (patch)
tree767d7556cb419ab48bbb75e2563eeb1623ebd225 /.travis.yml
parentc191ea52765c2515560eee01c62c61485b1ff6af (diff)
migrate js build system to gulp
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml13
1 files changed, 7 insertions, 6 deletions
diff --git a/.travis.yml b/.travis.yml
index 04ff6422c..a857a6c44 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -61,18 +61,19 @@ before_script:
- cd apps/news/js
# install test deps
- npm install --deps # npm install needs to run before sudo npm install because otherwise it fails because a tmp file exists in the home dir
- - sudo npm -g install grunt-cli protractor
+ - sudo npm -g install gulp-cli protractor
+ - cd ..
- wget https://scrutinizer-ci.com/ocular.phar
script:
# unit tests
- - grunt php-unit
+ - phpunit
- php ocular.phar code-coverage:upload --format=php-clover ../coverage.clover
- - grunt js-unit
- # integration tests
- - grunt php-integration
+ - phpunit -c phpunit.integration.xml
+ - cd js
+ - gulp karma
# acceptance tests
- - webdriver-manager update
+ # - webdriver-manager update
- sudo chown -R www-data:www-data ../../../data
- sudo chmod -R a+rwx ../../../data
#- grunt acceptance --verbose