Skip to:
Content

BuddyPress.org

Changeset 9697 for trunk/.travis.yml


Ignore:
Timestamp:
04/05/2015 02:21:26 PM (10 years ago)
Author:
djpaul
Message:

Build: add SCSS linter (grunt-scss-lint) to Grunt build process.

As part of the companion stylesheet changes for BP 2.3 (#6291 #6338), we'll be adding SCSS files to src/bp-templates/bp-legacy/css/ to help modernise our CSS workflow. This change adds a SCSS linter to help us maintain our code quality.

An empty src/bp-templates/bp-legacy/css/twentyfifteen.scss file has been added because the linter hangs if you tell it to run in a folder that does not contain any SCSS files. This will be replaced shortly with the real companion stylesheet for twentyfifteen (#6291).

As grunt-scss-lint relies on a ruby gem, the Travis-CI config has been modified to install it before running tests.

Fixes #6351, props netweb.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/.travis.yml

    r9560 r9697  
    5656    - cd $plugin_dir
    5757    - npm install -g grunt-cli
     58    - gem install scss-lint
    5859
    5960# before_script: Failures in this section will result in build status 'errored'
Note: See TracChangeset for help on using the changeset viewer.