Changeset 30963
- Timestamp:
- 12/17/2014 11:50:37 PM (11 years ago)
- File:
-
- 1 edited
-
trunk/.travis.yml (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/.travis.yml
r29844 r30963 1 # Travis CI Configuration File2 3 # Tell Travis CI we're using PHP4 1 language: php 5 6 # Build matrix options7 2 matrix: 8 3 include: 9 - php: 5.510 env: WP_TRAVISCI=travis:js11 - php: 5.212 env: WP_TRAVISCI=travis:phpunit13 - php: 5.314 env: WP_TRAVISCI=travis:phpunit15 - php: 5.416 env: WP_TRAVISCI=travis:phpunit17 - php: 5.518 env: WP_TRAVISCI=travis:phpunit19 - php: 5.620 env: WP_TRAVISCI=travis:phpunit21 - php: hhvm22 env: WP_TRAVISCI=travis:phpunit4 - php: 5.5 5 env: WP_TRAVISCI=travis:js 6 - php: 5.2 7 env: WP_TRAVISCI=travis:phpunit 8 - php: 5.3 9 env: WP_TRAVISCI=travis:phpunit 10 - php: 5.4 11 env: WP_TRAVISCI=travis:phpunit 12 - php: 5.5 13 env: WP_TRAVISCI=travis:phpunit 14 - php: 5.6 15 env: WP_TRAVISCI=travis:phpunit 16 - php: hhvm 17 env: WP_TRAVISCI=travis:phpunit 23 18 allow_failures: 24 - php: hhvm19 - php: hhvm 25 20 fast_finish: true 26 27 # Before install, failures in this section will result in build status 'errored'28 21 before_install: 29 - WP_CORE_DIR=/tmp/wordpress/ 30 - > 31 if [[ "$WP_TRAVISCI" == "travis:phpunit" ]]; then 32 mysql -e "CREATE DATABASE wordpress_tests;" -uroot 33 cp wp-tests-config-sample.php wp-tests-config.php 34 sed -i "s/youremptytestdbnamehere/wordpress_tests/" wp-tests-config.php 35 sed -i "s/yourusernamehere/travis/" wp-tests-config.php 36 sed -i "s/yourpasswordhere//" wp-tests-config.php 37 svn checkout https://plugins.svn.wordpress.org/wordpress-importer/trunk tests/phpunit/data/plugins/wordpress-importer 38 fi 39 40 # Before script, failures in this section will result in build status 'failed' 22 - WP_CORE_DIR=/tmp/wordpress/ 23 - | 24 if [[ "$WP_TRAVISCI" == "travis:phpunit" ]]; then 25 mysql -e "CREATE DATABASE wordpress_tests;" -uroot 26 cp wp-tests-config-sample.php wp-tests-config.php 27 sed -i "s/youremptytestdbnamehere/wordpress_tests/" wp-tests-config.php 28 sed -i "s/yourusernamehere/travis/" wp-tests-config.php 29 sed -i "s/yourpasswordhere//" wp-tests-config.php 30 svn checkout https://plugins.svn.wordpress.org/wordpress-importer/trunk tests/phpunit/data/plugins/wordpress-importer 31 fi 41 32 before_script: 42 - npm install -g grunt-cli 43 - npm install 44 45 # Script, failures in this section will result in build status 'failed' 33 - npm install -g grunt-cli 34 - npm install 46 35 script: grunt $WP_TRAVISCI 36 notifications: 37 slack: 38 secure: eL9NX6Q1PUUfEeLSrvWka5+uLSFBAhMFAkLTm2/iOcLb8MfGp1pVYpgfZFB6Gi1rmlSk1IDtCsLU1+CYpVrQhIXyur3Ryfm5WFXr51UmCIeMfd+g4jCRw3RK0LTpfAQUcav4DPabphKvI+S1CYdvWFINb/TvbbqGpQIQ/srb8PM=
Note: See TracChangeset
for help on using the changeset viewer.