Skip to:
Content

BuddyPress.org

Changeset 11587 for trunk/.travis.yml


Ignore:
Timestamp:
06/13/2017 04:38:30 AM (6 years ago)
Author:
netweb
Message:

Build Tools: Use stylelint to lint CSS and SCSS files.

  • Switches to using https://stylelint.io/ for CSS and SCSS linting
  • Removes the Ruby SCSS lint tool configuration and Grunt tasks
  • One less dependency platform for which BuddyPress repo tool chain.

Props netweb, hnla, DJPaul.
Fixes #7028.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/.travis.yml

    r11535 r11587  
    1111  directories:
    1212    - $HOME/.composer/cache
    13     - $HOME/.rvm/gems
    1413#    - /tmp/wordpress/src/wp-content/plugins/buddypress/node_modules
    1514
     
    5251# before_install: Failures in this section will result in build status 'errored'
    5352before_install:
    54   # scss-lint requires Ruby >= 2.2
    55   - source ~/.rvm/scripts/rvm && rvm install 2.2.0 && rvm use 2.2.0
    5653  # set up WP install
    5754  - export WP_DEVELOP_DIR=/tmp/wordpress/
     
    7572  # prepare for running the tests
    7673  - cd $plugin_dir
    77   - gem install scss_lint
    7874  # setup NodeJS version using NVM
    7975  - node --version
     
    8480  - mysql --version
    8581  - phpenv versions
    86   - ruby --version
    8782  - php --version
    8883  - php -m
Note: See TracChangeset for help on using the changeset viewer.