summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml16
1 files changed, 8 insertions, 8 deletions
diff --git a/.travis.yml b/.travis.yml
index 3a9f60fc3..5a2f855c2 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,12 +1,12 @@
language: php
php:
- - 5.4
+ #- 5.4
- 5.5
env:
- DB=sqlite
- - DB=postgresql
- - DB=mysql
+ #- DB=postgresql
+ #- DB=mysql
before_install:
# get a newer node.js version
@@ -43,7 +43,6 @@ before_script:
# fill owncloud with default configs and enable news
- cd owncloud
- ocdev ci $DB
- - sudo echo "DEFINE('DEBUG', true);" >> config/autoconfig.php
- php -f console.php app:enable news
- cd apps/news
@@ -53,16 +52,17 @@ script:
- wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --format=php-clover coverage.clover
- cd js/
- # js unit tests
+ # install javascript deps (putting it into install section fails often)
- 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
+ # js unit tests
- grunt ci-unit
# acceptance tests
- - sudo npm -g install grunt-cli protractor
- webdriver-manager update
- grunt ci-e2e --verbose
- sudo apt-get install curl
- - curl http://localhost/owncloud/index.php
- - curl http://localhost/owncloud/index.php/apps/news/
+ - curl http://admin:admin@localhost/owncloud/index.php
+ - curl http://admin:admin@localhost/owncloud/index.php/apps/news/
- sudo cat ../../../data/owncloud.log
addons: