Skip to:
Content

BuddyPress.org

Changeset 8516


Ignore:
Timestamp:
06/14/2014 07:09:54 PM (11 years ago)
Author:
boonebgorges
Message:

In Travis CI config, move environment setup to before_install, so as not to trigger failed builds

Environment setup on Travis CI can fail in a number of ways - failed git
checkouts, database connection problems, etc - that have nothing specifically
to do with BuddyPress's test configuration. This changeset moves those steps
into the before_install section, with the result that a failed setup routine
will result in an 'errored' rather than 'failed' build. Grunt setup and the
phpunit tests themselves will continue to generate failure messages when
something goes wrong.

See #5708

Props netweb

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/.travis.yml

    r8515 r8516  
    2323  fast_finish: true
    2424
    25 before_script:
     25# before_install: Failures in this section will result in build status 'errored'
     26before_install:
    2627    # set up WP install
    2728    - export WP_DEVELOP_DIR=/tmp/wordpress/
     
    4647    - cd $plugin_dir
    4748    - npm install -g grunt-cli
     49
     50# before_script: Failures in this section will result in build status 'errored'
     51before_script:
    4852    - npm install
    4953
     54# Run tests
    5055script: grunt travis
    5156
Note: See TracChangeset for help on using the changeset viewer.