Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions shippable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ install: true
before_archive:
- ls
- mv calculator.php shippable/src

after_archive:
- echo $SHIPPABLE_ARTIFACTS_URL
- echo $ARTIFACTS_UPLOAD_SUCCESSFUL
Expand All @@ -34,3 +35,5 @@ notifications:
- vidya@shippable.com
on_success: always
on_failure: always
#test
#test2
2 changes: 1 addition & 1 deletion tests/calculator_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class CalculatorTest extends PHPUnit_Framework_TestCase{
public function testAdd(){
$calc = new Calculator();
$sum = $calc->add(array(2,3,4,5));
$this->assertEquals(14, $sum); //check if 2+3+4+5 is equal to 14
$this->assertEquals(15, $sum); //check if 2+3+4+5 is equal to 14
}

//test if the subtract() method in our calculator class
Expand Down