Skip to:
Content

BuddyPress.org

Changeset 10976


Ignore:
Timestamp:
08/01/2016 03:31:13 PM (8 years ago)
Author:
djpaul
Message:

Travis-CI: fix up indentation inconsistencies.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/.editorconfig

    r9517 r10976  
    1414indent_style = tab
    1515
    16 [{*.json,*.yml}]
     16[{.jshintrc,*.json,*.yml}]
    1717indent_style = space
    1818indent_size = 2
  • trunk/.travis.yml

    r10975 r10976  
    1313
    1414php:
    15     - 5.2
    16     - 5.3
    17     - 5.4
    18     - 5.5
    19     - 5.6
    20     - 7.0
     15  - 5.2
     16  - 5.3
     17  - 5.4
     18  - 5.5
     19  - 5.6
     20  - 7.0
    2121
    2222# WordPress comes from the Git mirror, where 'master' mirrors svn 'trunk' and
    2323# x.y mirrors the latest from the x.y branch
    2424env:
    25     - WP_VERSION=master BP_TRAVISCI=travis:phpunit
    26     - WP_VERSION=4.5 BP_TRAVISCI=travis:phpunit
    27     - WP_VERSION=4.4 BP_TRAVISCI=travis:phpunit
    28     - WP_VERSION=4.3 BP_TRAVISCI=travis:phpunit
    29     - WP_VERSION=4.2 BP_TRAVISCI=travis:phpunit
     25  - WP_VERSION=master BP_TRAVISCI=travis:phpunit
     26  - WP_VERSION=4.5 BP_TRAVISCI=travis:phpunit
     27  - WP_VERSION=4.4 BP_TRAVISCI=travis:phpunit
     28  - WP_VERSION=4.3 BP_TRAVISCI=travis:phpunit
     29  - WP_VERSION=4.2 BP_TRAVISCI=travis:phpunit
    3030
    3131matrix:
     
    5555# before_install: Failures in this section will result in build status 'errored'
    5656before_install:
    57     # set up WP install
    58     - export WP_DEVELOP_DIR=/tmp/wordpress/
    59     - mkdir -p $WP_DEVELOP_DIR
    60     - git clone --depth=1 --branch="$WP_VERSION" git://develop.git.wordpress.org/ $WP_DEVELOP_DIR
    61     - plugin_slug=$(basename $(pwd))
    62     - plugin_dir=$WP_DEVELOP_DIR/src/wp-content/plugins/$plugin_slug
    63     - cd ..
    64     - mv $plugin_slug $plugin_dir
    65     # set up tests config
    66     - cd $WP_DEVELOP_DIR
    67     - echo $WP_DEVELOP_DIR
    68     - cp wp-tests-config-sample.php wp-tests-config.php
    69     - sed -i "s/youremptytestdbnamehere/wordpress_test/" wp-tests-config.php
    70     - sed -i "s/yourusernamehere/root/" wp-tests-config.php
    71     - sed -i "s/yourpasswordhere//" wp-tests-config.php
    72     # set up database
    73     - mysql -e 'CREATE DATABASE wordpress_test;' -uroot
    74     # prepare for running the tests
    75     - cd $plugin_dir
    76     - gem install scss_lint
    77     # setup NodeJS version using NVM
    78     - node --version
    79     - nvm install 4
    80     - node --version
    81     - npm install -g grunt-cli
    82     - npm --version
    83     - mysql --version
    84     - phpenv versions
     57  # set up WP install
     58  - export WP_DEVELOP_DIR=/tmp/wordpress/
     59  - mkdir -p $WP_DEVELOP_DIR
     60  - git clone --depth=1 --branch="$WP_VERSION" git://develop.git.wordpress.org/ $WP_DEVELOP_DIR
     61  - plugin_slug=$(basename $(pwd))
     62  - plugin_dir=$WP_DEVELOP_DIR/src/wp-content/plugins/$plugin_slug
     63  - cd ..
     64  - mv $plugin_slug $plugin_dir
     65  # set up tests config
     66  - cd $WP_DEVELOP_DIR
     67  - echo $WP_DEVELOP_DIR
     68  - cp wp-tests-config-sample.php wp-tests-config.php
     69  - sed -i "s/youremptytestdbnamehere/wordpress_test/" wp-tests-config.php
     70  - sed -i "s/yourusernamehere/root/" wp-tests-config.php
     71  - sed -i "s/yourpasswordhere//" wp-tests-config.php
     72  # set up database
     73  - mysql -e 'CREATE DATABASE wordpress_test;' -uroot
     74  # prepare for running the tests
     75  - cd $plugin_dir
     76  - gem install scss_lint
     77  # setup NodeJS version using NVM
     78  - node --version
     79  - nvm install 4
     80  - node --version
     81  - npm install -g grunt-cli
     82  - npm --version
     83  - mysql --version
     84  - phpenv versions
    8585
    8686# before_script: Failures in this section will result in build status 'errored'
    8787before_script:
    88     - npm install
     88  - npm install
    8989
    9090# Run tests
     
    9292
    9393notifications:
    94     email: false
     94  email: false
    9595
    96     irc:
    97         channels:
    98             - secure: "Z+gAlyOafrw0Xg294np+7IpqOKTsswGjAWyOZsbzT7Xo8uY1nmz8tTuU50Gpo8jo5HQqG9G0QgI3zB3Cxy3M5dF+J5oLl1lBz1zL0mtHiq1HoXi2cbVnGCCpxtMvYII6UmPUGAg8zvNUQol+cw1jb3PzLwEDfGcDH64o/Z3j8Gg="
    99         template:
    100             - "Build %{build_number} (%{branch} - %{commit}): %{message} %{build_url}"
    101     slack:
    102         secure: JQT+HWoVhLzoG00HmJscYZO+Gy7ywnIlrUbCaI7DxFdFOIkKxsTLLq9cKE4y3VqgZAARTOKjP1eQ7a5OEg1vT11Ow+rB7iUAMNmITxXO4feTOx1i2673xRNBro/SZMhlLd7DY2erbMDZaG9hBQB4xLXRYOvP29pLxf5zTSyZMyE=
     96  irc:
     97    channels:
     98      - secure: "Z+gAlyOafrw0Xg294np+7IpqOKTsswGjAWyOZsbzT7Xo8uY1nmz8tTuU50Gpo8jo5HQqG9G0QgI3zB3Cxy3M5dF+J5oLl1lBz1zL0mtHiq1HoXi2cbVnGCCpxtMvYII6UmPUGAg8zvNUQol+cw1jb3PzLwEDfGcDH64o/Z3j8Gg="
     99    template:
     100      - "Build %{build_number} (%{branch} - %{commit}): %{message} %{build_url}"
     101  slack:
     102    secure: JQT+HWoVhLzoG00HmJscYZO+Gy7ywnIlrUbCaI7DxFdFOIkKxsTLLq9cKE4y3VqgZAARTOKjP1eQ7a5OEg1vT11Ow+rB7iUAMNmITxXO4feTOx1i2673xRNBro/SZMhlLd7DY2erbMDZaG9hBQB4xLXRYOvP29pLxf5zTSyZMyE=
Note: See TracChangeset for help on using the changeset viewer.