Skip to:
Content

BuddyPress.org

Changeset 10771 for trunk/.travis.yml


Ignore:
Timestamp:
05/15/2016 03:13:29 AM (6 years ago)
Author:
boonebgorges
Message:

Add a grunt build job to the Travis test matrix.

Running the build process in CI should help to catch errors (botched
dependencies and the like) before we actually go to package a release.

Props netweb.
Fixes #6726.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/.travis.yml

    r10703 r10771  
    1818# x.y mirrors the latest from the x.y branch
    1919env:
    20     - WP_VERSION=master
    21     - WP_VERSION=4.5
    22     - WP_VERSION=4.4
    23     - WP_VERSION=4.3
    24     - WP_VERSION=4.2
    25     - WP_VERSION=4.1
     20    - WP_VERSION=master BP_TRAVISCI=travis:phpunit
     21    - WP_VERSION=4.5 BP_TRAVISCI=travis:phpunit
     22    - WP_VERSION=4.4 BP_TRAVISCI=travis:phpunit
     23    - WP_VERSION=4.3 BP_TRAVISCI=travis:phpunit
     24    - WP_VERSION=4.2 BP_TRAVISCI=travis:phpunit
     25    - WP_VERSION=4.1 BP_TRAVISCI=travis:phpunit
    2626
    2727matrix:
     
    2929  include:
    3030    - php: nightly
    31       env: WP_VERSION=master
     31      env: WP_VERSION=master BP_TRAVISCI=travis:phpunit
     32    - php: 7.0
     33      env: WP_VERSION=master BP_TRAVISCI=travis:grunt
    3234  exclude:
    3335    - php: 7.0
    34       env: WP_VERSION=4.2
     36      env: WP_VERSION=4.2 BP_TRAVISCI=travis:phpunit
    3537    - php: 7.0
    36       env: WP_VERSION=4.1
     38      env: WP_VERSION=4.1 BP_TRAVISCI=travis:phpunit
    3739  allow_failures:
    3840    - php: nightly
     
    7274
    7375# Run tests
    74 script: grunt travis
     76script: grunt $BP_TRAVISCI
    7577
    7678notifications:
Note: See TracChangeset for help on using the changeset viewer.