i’m newbie & trying to learn travis within my PHP development environment.
It’s very “basic”, i just trying a sample .travis.yml from official guide. But it always failing.
My repo is here https://github.com/rahmatawaludin/learn_travis and my travis build is here http://travis-ci.org/rahmatawaludin/learn-travis .
Could anyone give me some help?
I guess you followed the PHPUnit manual.
If you want to write a test for class
MyClass(file MyClass.php), the corresponding tests would be in classMyClassTest(file MyClassTest.php).Now if you want to run the test you’d call
phpunitlike that:But you called
phpunitwith the filename, just remove the.phpextension, then it should work.