Yaffs site version 1.1
[yaffs-website] / vendor / drupal / console / .travis.yml
1 sudo: false
2
3 language: php
4
5 php:
6   - 5.5.9
7   - 5.6
8   - 7.0
9   - 7.1
10   - hhvm
11
12 matrix:
13   fast_finish: true
14   allow_failures:
15     - php: hhvm
16     - php: 7.0
17     - php: 7.1
18
19 env:
20   global:
21     - PROJECT_DIR=/home/project
22
23 before_script:
24   - phpenv config-rm xdebug.ini
25   # This fixes a fail when install Drupal.
26   - echo 'sendmail_path = /bin/true' >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
27   - composer self-update
28   - composer install --no-dev
29 #  - curl -LSs https://box-project.github.io/box2/installer.php | php
30 #  - composer global require drupal/coder:~8.1
31
32 script:
33   - if [ -n "${TRAVIS_BUILD_DIR+1}" ]; then PROJECT_DIR=$TRAVIS_BUILD_DIR; fi
34 #  - phpunit
35 #  - php box.phar build
36 #  - php drupal.phar init
37 #  - php drupal.phar check
38 #  - php drupal.phar site:new drupal8.dev --latest --no-interaction
39 #  - cd drupal8.dev
40 #  - php ../drupal.phar site:install standard --langcode=en --db-type=sqlite --db-file=sites/default/files/.ht.sqlite --site-name="Drupal 8 Site Install" --site-mail=admin@example.com --account-name=admin --account-mail=admin@example.com --account-pass=admin --no-interaction
41 #  - php ../drupal.phar chain --file=$PROJECT_DIR/config/dist/chain/sample.yml
42 #  - ~/.composer/vendor/bin/phpcs --warning-severity=0 --standard=~/.composer/vendor/drupal/coder/coder_sniffer/Drupal/ruleset.xml $PROJECT_DIR/drupal8.dev/modules/custom/example
43
44 notifications:
45   webhooks:
46     urls:
47       - https://webhooks.gitter.im/e/637685414a0d0ef9d4c6
48     on_success: change
49     on_failure: always