Commit Graph

164 Commits

Author SHA1 Message Date
Mike Jolley 387093cd27
Merge pull request #17687 from rodrigoprimo/update/remove-unnecessary-travis-config
Travis configuration cleanup
2017-11-14 10:21:15 +00:00
Rodrigo Primo 5078359eca Remove unnecessary Travis environment variable PHP_LATEST_STABLE 2017-11-13 17:24:52 -02:00
Rodrigo Primo 9188f814c3 Remove unused Travis environment variable
This commit removes the unused Travis enrivonment variable PHP_LATEST_STABLE.
2017-11-13 17:22:46 -02:00
Rodrigo Primo d847323867 Remove unnecessary Travis configuration
It is not necessary to declare environment variables for a specific build job if they are the same as the environment variables declared for all build jobs.
2017-11-13 17:18:31 -02:00
Rodrigo Primo 2dcb04e2e2 Generate code coverage report on a separate non-blocking Travis job
Travis build is taking about 40 minutes to complete, and that is mostly because of the generation of the code coverage report.

To address that, this commit changes Travis configuration to run the command to generate code coverage report on a separate non-blocking Travis job. This way once the jobs that run the tests finishes, Travisi will mark the build as successful and will keep running code coverage on a separate job.
2017-11-13 15:57:11 -02:00
Claudio Sanches c95137f9c0 Moved phpcs after phpunit 2017-10-10 10:50:22 -03:00
Claudio Sanches ab04636ef0 Adds PHPCS in Travis CI 2017-10-09 17:31:15 -03:00
Claudio Sanches cd554c1bdf Restored tests/bin/phpunit.sh 2017-10-05 13:14:56 -03:00
Mike Jolley 212449f391 Only generate coverage on 7.x 2017-09-26 14:09:27 +01:00
Mike Jolley 66f253e4a3 phpunit tweak 2017-09-26 13:29:13 +01:00
Mike Jolley be014346f1 Travis 2017-09-26 13:24:11 +01:00
Mike Jolley 80748089c4 Travis 2017-09-26 13:18:56 +01:00
Mike Jolley a028bcaec3 Codecov config 2017-09-26 12:59:15 +01:00
Mike Jolley 2f294a47d8 version 2017-08-22 12:02:47 +01:00
Mike Jolley 901a70268b test tweak 2017-08-22 11:02:39 +01:00
Claudio Sanches c5055ed2f7 Tidy up Scrutinizer, PHPUnit and Travis config 2017-07-21 14:25:27 -03:00
Claudio Sanches 4251bd5614 Move code coverage to Scrutinizer 2017-07-20 16:50:12 -03:00
Mike Jolley a7fec4475f 5.3 does not like dist 2017-07-20 15:55:45 +01:00
Mike Jolley 80cbba49d6 More test tweaks 2017-07-20 15:41:28 +01:00
Mike Jolley b14c719fc0 Travis 2017-07-20 12:39:46 +01:00
Mike Jolley 1c26587948 travis 2017-07-20 12:12:29 +01:00
Mike Jolley 3fbba9d869 More travis config 2017-07-20 12:00:21 +01:00
Mike Jolley aa7f823763 Travis config 2017-07-20 11:42:53 +01:00
Mike Jolley c569d4fd81 Travis 2017-07-20 11:23:37 +01:00
Akeda Bagus 53807185a8
Fixed typos.
These typos are catched by `misspell` program.

```
find . -type f | grep -v assets | grep -v dummy-data | grep -v i18n | grep -v node_modules | grep -v .git | grep -v apigen |  xargs misspell -w
```

Some results were excluded because of 3rd party ownership and non-english
sentences.
2017-07-10 12:56:28 +07:00
Ramon van Belzen f186922683 travis-ci: remove hhvm from testing matrix 2017-05-29 18:12:30 +02:00
Mike Jolley cbe6934f61 Try in sh file so 5.2 does not break 2017-03-14 17:17:35 +00:00
Mike Jolley 0aad398144 Add to travis yml 2017-03-14 17:11:02 +00:00
Jon Surrell b67a3e0119 Unquote 7.1 in .travis.yml 2017-01-17 10:07:10 +01:00
Jon Surrell 9069bce4d3 Change travis setup to exclude coverage from all but latest stable
Add PHP_LATEST_STABLE env to travis

Use same bash conditional for test scripts
2017-01-16 21:11:21 +01:00
Jon Surrell 9d0d707c8a Allow failure for PHP 5.3 travis builds
Builds on this particular box fail randomly and very frequently.
2017-01-13 07:46:37 +01:00
Mike Jolley ab76036c1f Enable 7.1 tests 2017-01-11 12:58:10 +00:00
Mike Jolley fcf0ab0ba5 Tweak travis code to reduce test times. 2016-12-07 18:44:18 +00:00
Mike Jolley d1f4177c97 Allow fail because WP notices in tests. 2016-12-06 16:57:35 +00:00
Ramon van Belzen f97f2c603a travis-ci: test with php 7.1 2016-12-05 08:14:56 +01:00
Claudio Sanches 0d803ef5a1 PHPunit already looks for syntax errors 2016-09-13 17:45:40 -03:00
Aristeides Stathopoulos b70f62bfa9 Add 4th-level-deep tests 2016-09-08 00:34:39 +03:00
Aristeides Stathopoulos f6af54cb72 no need for verbose-mode phpcs tests. 2016-09-08 00:33:34 +03:00
Aristeides Stathopoulos cdf70bb953 don't run phpcs on the vendor folder. 2016-08-27 20:06:32 +03:00
Aristeides Stathopoulos 9bf8eb861c indentation 2016-08-27 19:53:46 +03:00
Aristeides Stathopoulos 7aa3a0fc9e move scripts 2016-08-27 19:52:45 +03:00
Aristeides Stathopoulos 08250b9339 exclude vendor folder 2016-08-27 17:35:11 +03:00
Aristeides Stathopoulos c0b43e6370 attempt to run PHPCS on travis 2016-08-27 17:18:14 +03:00
Jeff Stieler 5b7646953e Remove unsupported versions of WordPress from Travis CI build matrix.
At the time of this commit, `latest` and the minimum supported version of `4.4` are one in the same.
2016-06-08 15:07:48 -06:00
Mike Jolley dc5d376583 Test all PHP versions against WP latest, and older versions against recommended version. 2016-03-23 15:37:13 +00:00
Mike Jolley d238a4c245 hhvm in travis 2016-03-23 12:04:42 +00:00
Mike Jolley d63d062470 Run self update in script to avoid breaking tests on 5.2 2016-03-23 10:46:35 +00:00
Mike Jolley 1a0ac3a0bf Composer self-update syntax 2016-03-23 10:32:49 +00:00
Mike Jolley 59a333f649 Add 5.2, and test MS against min recommended (5.6)
Also removes 4.0 since min supported version is 4.1.
2016-03-23 10:16:24 +00:00
Mike Jolley facfc356ac Travis self update on install 2016-03-23 10:14:01 +00:00
Claudio Sanches a3249d3853 Added PHP 7 in the tests 2015-12-08 16:26:14 -02:00
Claudio Sanches 1d6fb39dbe Merge pull request #8891 from Ramoonus/patch-9
travis: merge after UT code
2015-08-19 11:28:31 -03:00
Ramon van Belzen cba9d40177 Update .travis.yml 2015-08-19 09:48:44 +02:00
Ramon van Belzen 35ef6da767 travis: add wordpress 4.3 2015-08-19 09:45:42 +02:00
Ramon van Belzen 12998ae984 travis-ci: add wordpress 4.2 2015-04-23 18:18:20 +02:00
Claudio Sanches 2a2fae4bfe Updated the WP required version to 4.0 2015-02-13 13:48:32 -02:00
Mike Jolley c8ffc4e5a1 Removing hhvm until Claudio fixes our config :) 2015-02-05 11:23:53 +00:00
Mike Jolley 284d7b73bf Update travis config; remove 5.2, add 5.6 and hhvm 2015-02-03 16:43:05 +00:00
claudiosmweb e8b6e3f3bf Make coverage works with scrutinizer and coveralls 2014-11-25 21:06:31 -02:00
claudiosmweb 653f3d308c Linked travis, coveralls and scrutinizer 2014-11-24 12:25:19 -02:00
claudiosmweb 19e215df7f added .yml format in .editorconfig, closes #6364 2014-09-22 16:15:16 -03:00
Max Rice 6f532a93c4 Add coveralls.io for tracking test coverage 2014-09-07 14:53:33 -04:00
Max Rice 5ac9253808 Add separate phpunit config for travis 2014-09-05 19:37:16 -04:00
Max Rice 71def57a7d [#3176] Add unit test boostrap 2014-09-01 02:03:52 -04:00