Pathologic was missing because of a .git folder inside.
[yaffs-website] / web / modules / contrib / inline_entity_form / .travis.yml
1 # @file
2 # .travis.yml - Drupal for Travis CI Integration
3 #
4 # Template provided by https://github.com/LionsAd/drupal_ti.
5 #
6 # Based for simpletest upon:
7 #   https://github.com/sonnym/travis-ci-drupal-module-example
8
9 language: php
10
11 sudo: false
12
13 php:
14   - 5.6
15   - 7
16
17 matrix:
18   fast_finish: true
19
20 env:
21   global:
22     # add composer's global bin directory to the path
23     # see: https://github.com/drush-ops/drush#install---composer
24     - PATH="$PATH:$HOME/.composer/vendor/bin"
25
26     # Configuration variables.
27     - DRUPAL_TI_MODULE_NAME="inline_entity_form"
28     - DRUPAL_TI_SIMPLETEST_GROUP="inline_entity_form"
29
30     # Define runners and environment vars to include before and after the
31     # main runners / environment vars.
32     #- DRUPAL_TI_SCRIPT_DIR_BEFORE="./drupal_ti/before"
33     #- DRUPAL_TI_SCRIPT_DIR_AFTER="./drupal_ti/after"
34
35     # The environment to use, supported are: drupal-7, drupal-8
36     - DRUPAL_TI_ENVIRONMENT="drupal-8"
37
38     # The installation profile to use:
39     #- DRUPAL_TI_INSTALL_PROFILE="testing"
40
41     # Drupal specific variables.
42     - DRUPAL_TI_DB="drupal_travis_db"
43     - DRUPAL_TI_DB_URL="mysql://root:@127.0.0.1/drupal_travis_db"
44     # Note: Do not add a trailing slash here.
45     - DRUPAL_TI_WEBSERVER_URL="http://127.0.0.1"
46     - DRUPAL_TI_WEBSERVER_PORT="8080"
47
48     # Simpletest specific commandline arguments, the DRUPAL_TI_SIMPLETEST_GROUP is appended at the end.
49     - DRUPAL_TI_SIMPLETEST_ARGS="--verbose --color --concurrency 4 --url $DRUPAL_TI_WEBSERVER_URL:$DRUPAL_TI_WEBSERVER_PORT"
50
51     # === Behat specific variables.
52     # This is relative to $TRAVIS_BUILD_DIR
53     - DRUPAL_TI_BEHAT_DIR="./tests/behat"
54     # These arguments are passed to the bin/behat command.
55     - DRUPAL_TI_BEHAT_ARGS=""
56     # Specify the filename of the behat.yml with the $DRUPAL_TI_DRUPAL_DIR variables.
57     - DRUPAL_TI_BEHAT_YML="behat.yml.dist"
58     # This is used to setup Xvfb.
59     - DRUPAL_TI_BEHAT_SCREENSIZE_COLOR="1280x1024x16"
60     # The version of selenium that should be used.
61     - DRUPAL_TI_BEHAT_SELENIUM_VERSION="2.48.2"
62     # Set DRUPAL_TI_BEHAT_DRIVER to "selenium" to use "firefox" or "chrome" here.
63     - DRUPAL_TI_BEHAT_DRIVER="phantomjs"
64     - DRUPAL_TI_BEHAT_BROWSER="firefox"
65
66     # PHPUnit specific commandline arguments.
67     - DRUPAL_TI_PHPUNIT_ARGS=""
68     # Specifying the phpunit-core src/ directory is useful when e.g. a vendor/
69     # directory is present in the module directory, which phpunit would then
70     # try to find tests in. This option is relative to $TRAVIS_BUILD_DIR.
71     #- DRUPAL_TI_PHPUNIT_CORE_SRC_DIRECTORY="./tests/src"
72
73     # Code coverage via coveralls.io
74     - DRUPAL_TI_COVERAGE="satooshi/php-coveralls:0.6.*"
75     # This needs to match your .coveralls.yml file.
76     - DRUPAL_TI_COVERAGE_FILE="build/logs/clover.xml"
77
78     # Debug options
79     #- DRUPAL_TI_DEBUG="-x -v"
80     # Set to "all" to output all files, set to e.g. "xvfb selenium" or "selenium",
81     # etc. to only output those channels.
82     #- DRUPAL_TI_DEBUG_FILE_OUTPUT="selenium xvfb webserver"
83
84   matrix:
85     - DRUPAL_TI_RUNNERS="phpunit-core simpletest"
86     #- DRUPAL_TI_RUNNERS="phpunit"
87     #- DRUPAL_TI_RUNNERS="behat"
88     #- DRUPAL_TI_RUNNERS="phpunit simpletest behat"
89     # Use phpunit-core to test modules with phpunit with Drupal 8 core.
90     #- DRUPAL_TI_RUNNERS="phpunit-core"
91
92 mysql:
93   database: drupal_travis_db
94   username: root
95   encoding: utf8
96
97 before_install:
98   - composer self-update
99   - composer global require "lionsad/drupal_ti:dev-master"
100   - drupal-ti before_install
101
102 install:
103   - drupal-ti install
104
105 before_script:
106   - drupal-ti --include ".travis-before-script.sh"
107   - drupal-ti before_script
108
109 script:
110   - drupal-ti script
111
112 after_script:
113   - drupal-ti after_script
114
115 notifications:
116   email: false