Skip to content

Commit 5c7568b

Browse files
committed
added composer install
1 parent 3513c14 commit 5c7568b

File tree

2 files changed

+11
-6
lines changed

2 files changed

+11
-6
lines changed

.travis.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,7 @@ language: php
22

33
php:
44
- 5.4
5-
- 5.5
5+
- 5.5
6+
7+
before_script:
8+
- composer install

RoboFile.php

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,20 @@ public function release()
88
// ask for changes in this release
99
$changelog = $this->taskChangelog()
1010
->version($version)
11-
->askForChanges();
11+
->askForChanges()
12+
->run();
1213

1314
// adding changelog and pushing it
14-
$this->taskExec('git add CHANGELOG.md')->run();
15-
$this->taskExec('git commit -m "updated changelog"')->run();
16-
$this->taskExec('git push')->run();
15+
$this->taskGit()
16+
->add('CHANGELOG.md')
17+
->commit('updated changelog')
18+
->push()
19+
->run();
1720

1821
// create GitHub release
1922
$this->taskGitHubRelease($version)
2023
->uri('Codeception/Specify')
2124
->askDescription()
22-
->changes($changelog->getChanges())
2325
->run();
2426
}
2527

0 commit comments

Comments
 (0)