From d696baed01c800774fe29b0c96c297e8a464954f Mon Sep 17 00:00:00 2001 From: Ye Myat Thein Date: Mon, 12 Jun 2017 17:36:25 +0100 Subject: [PATCH 1/5] Testing Travis CI --- NewUser.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/NewUser.txt b/NewUser.txt index e69de29bb..f273451c7 100644 --- a/NewUser.txt +++ b/NewUser.txt @@ -0,0 +1 @@ +Ye Myat Thein From 9ba062232e73207cf42ebd2636b8a0aac877c287 Mon Sep 17 00:00:00 2001 From: Ye Myat Thein Date: Mon, 12 Jun 2017 17:38:08 +0100 Subject: [PATCH 2/5] Fix the test --- Test.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Test.php b/Test.php index 4b44aa0f9..39f6cff73 100644 --- a/Test.php +++ b/Test.php @@ -3,7 +3,7 @@ class Test extends PHPUnit_Framework_TestCase { public function testOnePlusOne() { - $this->assertEquals(1+1,1); + $this->assertEquals(1+1,2); } } From 8985f318ee003552ca419515ef0864bf8106d25a Mon Sep 17 00:00:00 2001 From: Ye Myat Thein Date: Mon, 12 Jun 2017 17:41:29 +0100 Subject: [PATCH 3/5] remove hhvm --- .travis.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 8b3e1cc83..0b6bde02e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,5 +2,4 @@ language: php php: - 5.5 - 5.4 - - hhvm script: phpunit Test.php From 03e9afa6089ea9e2c2a8b73adf79d766d9ab06cf Mon Sep 17 00:00:00 2001 From: Ye Myat Thein Date: Mon, 12 Jun 2017 17:42:56 +0100 Subject: [PATCH 4/5] Status added in README --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index debcd9c23..047a9d822 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,6 @@ +### Status +[![Build Status](https://travis-ci.org/simkimsia/UtilityBehaviors.png)](https://travis-ci.org/simkimsia/UtilityBehaviors) + # travis-broken-example An example that will cause a build failure From bd1396c875680b1820e613becf7b9473a02882ba Mon Sep 17 00:00:00 2001 From: Ye Myat Thein Date: Mon, 12 Jun 2017 17:46:39 +0100 Subject: [PATCH 5/5] Status point to correct travis repo in README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 047a9d822..de1fb77c9 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ ### Status -[![Build Status](https://travis-ci.org/simkimsia/UtilityBehaviors.png)](https://travis-ci.org/simkimsia/UtilityBehaviors) +[![Build Status](https://travis-ci.org/yemyat89/travis-broken-example.png)](https://travis-ci.org/yemyat89/travis-broken-example) # travis-broken-example