Pathologic was missing because of a .git folder inside.
[yaffs-website] / web / modules / contrib / dropzonejs / .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 sudo: false
11
12 cache:
13   directories:
14     - $HOME/.composer/cache
15
16 php:
17   - 5.5
18   - 5.6
19   - 7
20
21 matrix:
22   fast_finish: true
23
24 branches:
25   only:
26     - "8.x-1.x"
27
28 env:
29   global:
30     # add composer's global bin directory to the path
31     # see: https://github.com/drush-ops/drush#install---composer
32     - PATH="$PATH:$HOME/.composer/vendor/bin"
33
34     # Configuration variables.
35     - DRUPAL_TI_MODULE_NAME="dropzonejs"
36     - DRUPAL_TI_SIMPLETEST_GROUP="dropzonejs"
37
38     # Define runners and environment vars to include before and after the
39     # main runners / environment vars.
40     #- DRUPAL_TI_SCRIPT_DIR_BEFORE="./drupal_ti/before"
41     #- DRUPAL_TI_SCRIPT_DIR_AFTER="./drupal_ti/after"
42
43     # The environment to use, supported are: drupal-7, drupal-8
44     - DRUPAL_TI_ENVIRONMENT="drupal-8"
45
46     # Drupal specific variables.
47     - DRUPAL_TI_DB="drupal_travis_db"
48     - DRUPAL_TI_DB_URL="mysql://root:@127.0.0.1/drupal_travis_db"
49     # Note: Do not add a trailing slash here.
50     - DRUPAL_TI_WEBSERVER_URL="http://127.0.0.1"
51     - DRUPAL_TI_WEBSERVER_PORT="8080"
52
53     # Simpletest specific commandline arguments, the DRUPAL_TI_SIMPLETEST_GROUP is appended at the end.
54     - DRUPAL_TI_SIMPLETEST_ARGS="--verbose --color --concurrency 4 --url $DRUPAL_TI_WEBSERVER_URL:$DRUPAL_TI_WEBSERVER_PORT"
55
56     # === Behat specific variables.
57     # This is relative to $TRAVIS_BUILD_DIR
58     # - DRUPAL_TI_BEHAT_DIR="./tests/behat"
59     # These arguments are passed to the bin/behat command.
60     # - DRUPAL_TI_BEHAT_ARGS=""
61     # Specify the filename of the behat.yml with the $DRUPAL_TI_DRUPAL_DIR variables.
62     # - DRUPAL_TI_BEHAT_YML="behat.yml.dist"
63     # This is used to setup Xvfb.
64     # - DRUPAL_TI_BEHAT_SCREENSIZE_COLOR="1280x1024x16"
65     # The version of seleniumthat should be used.
66     # - DRUPAL_TI_BEHAT_SELENIUM_VERSION="2.44"
67
68     # PHPUnit specific commandline arguments.
69     - DRUPAL_TI_PHPUNIT_ARGS=""
70
71     # Code coverage via coveralls.io
72     - DRUPAL_TI_COVERAGE="satooshi/php-coveralls:0.6.*"
73     # This needs to match your .coveralls.yml file.
74     - DRUPAL_TI_COVERAGE_FILE="build/logs/clover.xml"
75
76     # Debug options
77     #- DRUPAL_TI_DEBUG="-x -v"
78     # Set to "all" to output all files, set to e.g. "xvfb selenium" or "selenium",
79     # etc. to only output those channels.
80     #- DRUPAL_TI_DEBUG_FILE_OUTPUT="selenium xvfb webserver"
81
82   matrix:
83     # [[[ SELECT ANY OR MORE OPTIONS ]]]
84     #- DRUPAL_TI_RUNNERS="phpunit"
85     #- DRUPAL_TI_RUNNERS="simpletest"
86     #- DRUPAL_TI_RUNNERS="behat"
87     #- DRUPAL_TI_RUNNERS="phpunit simpletest behat"
88     - DRUPAL_TI_RUNNERS="phpunit-core"
89
90 mysql:
91   database: drupal_travis_db
92   username: root
93   encoding: utf8
94
95 before_install:
96   - composer self-update
97   - composer global require "lionsad/drupal_ti:1.*"
98   - drupal-ti before_install
99   # Codesniffer and Coder
100   - composer global require squizlabs/php_codesniffer
101   - composer global require drupal/coder
102   - ln -s ~/.composer/vendor/drupal/coder/coder_sniffer/Drupal ~/.composer/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/
103
104 install:
105   - drupal-ti install
106
107 before_script:
108   - drupal-ti --include drupal_ti/.travis-before_script.sh
109   - drupal-ti before_script
110
111 script:
112   - drupal-ti --include drupal_ti/.travis-phpcs.sh
113   - export SIMPLETEST_DB=mysql://root:@127.0.0.1/drupal_travis_db; drupal-ti script
114
115 after_script:
116   - drupal-ti after_script