Skip to content

Instantly share code, notes, and snippets.

@tonypiper
Created March 26, 2015 09:03
Show Gist options
  • Select an option

  • Save tonypiper/584660403126e8912332 to your computer and use it in GitHub Desktop.

Select an option

Save tonypiper/584660403126e8912332 to your computer and use it in GitHub Desktop.
shippable.yml
language: php
php:
- 5.4
before_script:
- echo "xdebug.max_nesting_level = 500" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
- mkdir -p shippable/testresults
- mkdir -p shippable/codecoverage
- mysql -e 'create database if not exists test_db;'
- composer config -g github-oauth.github.com $GITHUB_TOKEN
- composer self-update
- composer --no-interaction install
script: bin/behat --profile shippable --format junit --out shippable/testresults
env:
- secure: [create a github token, use the shippable interface to encrypt the GITHUB_TOKEN env var and paste it here]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment