Skip to content

Instantly share code, notes, and snippets.

@astehlik
Created May 17, 2016 05:43
Show Gist options
  • Save astehlik/0e0e9a1a447c82b5ef8252b775ba8aa6 to your computer and use it in GitHub Desktop.
Save astehlik/0e0e9a1a447c82b5ef8252b775ba8aa6 to your computer and use it in GitHub Desktop.
before_script:
- curl -sS https://getcomposer.org/installer | php
- if [ "$GITHUB_COMPOSER_AUTH" ]; then php composer.phar config -g github-oauth.github.com $GITHUB_COMPOSER_AUTH; fi
test:phpcs:
script:
- php composer.phar require typo3/cms="^7.6.0"
- .Build/bin/phpcs --config-set installed_paths Tests/CodeSniffer
- .Build/bin/phpcs --standard=PSRDefault Classes Tests/Unit ext_localconf.php ext_tables.php
test:typo3-7:
script:
- php composer.phar require typo3/cms="^7.6.0"
- TYPO3_PATH_WEB=".Build/Web" .Build/bin/phpunit -c .Build/vendor/typo3/cms/typo3/sysext/core/Build/UnitTests.xml Tests/Unit/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment