Permalink
Fetching contributors…
Cannot retrieve contributors at this time
27 lines (21 sloc) 608 Bytes
language: php
php:
- "5.6"
env:
- DB=mysql
before_install:
- phpenv config-rm xdebug.ini
- nvm install 5
# prepare execution of chromium in js tests
- export CHROME_BIN=chromium-browser
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
before_script:
- composer validate
- php scripts/configure.php --default
- composer sync-dev
- php app/console claroline:install --env=test
- export SYMFONY_DEPRECATIONS_HELPER=weak
script:
- vendor/bin/phpunit -c vendor/claroline/distribution
- node_modules/.bin/karma start vendor/claroline/distribution/karma.conf.js --single-run