Changeset 10976
- Timestamp:
- 08/01/2016 03:31:13 PM (8 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/.editorconfig
r9517 r10976 14 14 indent_style = tab 15 15 16 [{ *.json,*.yml}]16 [{.jshintrc,*.json,*.yml}] 17 17 indent_style = space 18 18 indent_size = 2 -
trunk/.travis.yml
r10975 r10976 13 13 14 14 php: 15 16 17 18 19 20 15 - 5.2 16 - 5.3 17 - 5.4 18 - 5.5 19 - 5.6 20 - 7.0 21 21 22 22 # WordPress comes from the Git mirror, where 'master' mirrors svn 'trunk' and 23 23 # x.y mirrors the latest from the x.y branch 24 24 env: 25 26 27 28 29 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 30 30 31 31 matrix: … … 55 55 # before_install: Failures in this section will result in build status 'errored' 56 56 before_install: 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 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 85 85 86 86 # before_script: Failures in this section will result in build status 'errored' 87 87 before_script: 88 88 - npm install 89 89 90 90 # Run tests … … 92 92 93 93 notifications: 94 94 email: false 95 95 96 97 98 99 100 101 102 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.