- Timestamp:
- 12/15/2019 12:59:20 AM (5 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/.travis.yml
r6962 r7043 1 1 # Travis CI Configuration File 2 3 # Use new Travis container-based infrastructure4 # http://docs.travis-ci.com/user/workers/container-based-infrastructure/5 sudo: false6 2 7 3 # Tell Travis CI we're using PHP 8 4 language: php 9 5 10 # Tell Travis CI which distro to use 11 dist: trusty 6 # Tell Travis CI which operating system to use 7 os: linux 8 9 # Ensure MySQL is available 10 services: 11 - mysql 12 12 13 13 # Configure caches 14 14 cache: 15 apt: true16 15 directories: 17 16 - vendor … … 21 20 # PHP version used in first build configuration. 22 21 php: 22 - 7.4 23 - 7.3 23 24 - 7.2 24 25 - 7.1 25 26 - 7.0 26 27 - 5.6 27 - 5.528 - 5.429 28 30 29 # WordPress comes from the Git mirror, where 'master' mirrors svn 'trunk' and … … 32 31 env: 33 32 - WP_VERSION=master 34 - WP_VERSION=4.9 35 - WP_VERSION=4.8 36 - WP_VERSION=4.7 33 - WP_VERSION=5.3 34 - WP_VERSION=5.2 37 35 38 36 # Build matrix options 39 matrix:37 jobs: 40 38 include: 41 39 - php: nightly 42 40 env: WP_VERSION=master 43 - php: 5.344 env: WP_VERSION=master45 dist: precise46 - php: 5.347 env: WP_VERSION=4.848 dist: precise49 - php: 5.350 env: WP_VERSION=4.751 dist: precise52 - php: 5.253 env: WP_VERSION=master54 dist: precise55 - php: 5.256 env: WP_VERSION=4.857 dist: precise58 - php: 5.259 env: WP_VERSION=4.760 dist: precise61 41 exclude: 62 - php: 7.2 63 env: WP_VERSION=4.8 64 - php: 7.2 65 env: WP_VERSION=4.7 42 - php: 7.4 43 env: WP_VERSION=5.2 66 44 allow_failures: 67 45 - php: nightly … … 123 101 echo "Using latest PHPUnit 6.x branch" 124 102 composer global require "phpunit/phpunit=^6" 125 elif [[ ${TRAVIS_PHP_VERSION:0:3} != "5.2" ]]; then103 elif [[ ${TRAVIS_PHP_VERSION:0:3} == "5.6" ]]; then 126 104 echo "Using latest PHPUnit 4.x branch" 127 105 composer global require "phpunit/phpunit=^4" … … 133 111 script: 134 112 - grunt travis 135 - if [ "$TRAVIS_PHP_VERSION" != "5.2" ]; then grunt test:buddypress; fi136 113 137 114 notifications: 138 115 email: false 139 irc:140 channels:141 - secure: "eRufY5taFDAuASgf9kB8oIC58lK9jLCTGVZ9Dr4M3Xxnwsj6t42Z5U9ZJ5wWAa0+9rf3UwbXj32Nd4QVvKWQL+IYTolX+LHzIidjKjYhOoCNr9HoMgjNOrjozXezKqqXzYKkPdX6drxk7JkK+ftx8qvVtZgRU8BS9sjhYDWh1X4="142 template:143 - "Build %{build_number} (%{branch} - %{commit}): %{message} %{build_url}"144 -
trunk/Gruntfile.js
r7039 r7043 414 414 } ); 415 415 416 // PHPUnit test task.417 grunt.registerTask( 'test:buddypress', 'Run the BuddyPress PHPUnit test tasks.', [ 'phpunit:buddypress' ] );418 grunt.registerTask( 'test:wordpress', 'Run the single and multisite WordPress PHPUnit test tasks.', [ 'phpunit:default', 'phpunit:multisite' ] );419 420 421 422 423 416 // JavaScript test task. 424 417 grunt.registerTask( 'jstest', 'Runs all JavaScript tasks.', [ 'jsvalidate:src', 'jshint' ] ); 425 418 426 419 // Travis CI Task 427 grunt.registerTask( 'travis', [ 'jsvalidate:src', 'jshint', 'checktextdomain', ' test:wordpress' ] );420 grunt.registerTask( 'travis', [ 'jsvalidate:src', 'jshint', 'checktextdomain', 'phpunit' ] ); 428 421 429 422 // Patch task.
Note: See TracChangeset
for help on using the changeset viewer.