Skip to content
This repository was archived by the owner on Apr 20, 2021. It is now read-only.

Commit 68cdc6e

Browse files
committed
Add travis configuration
1 parent c095e93 commit 68cdc6e

File tree

4 files changed

+19
-6
lines changed

4 files changed

+19
-6
lines changed

.travis.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
language: php
2+
3+
php:
4+
- 5.4
5+
6+
before_script:
7+
- cp behat.yml{-dist,}
8+
- composer install
9+
10+
script:
11+
- ./bin/behat -fprogress
12+
13+
- ./bin/box build
14+
- sed -i 's/Behatch\\Notifier\\Extension/behatch_notifiers.phar/' behat.yml
15+
- ./bin/behat -fprogress

behat.yml-dist

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ default:
22
suites:
33
default:
44
contexts:
5-
- Behat\MinkExtension\Context\MinkContext
65
- behatch:system
76
- Behatch\Notifier\Desktop
87
extensions:

composer.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@
1111
},
1212

1313
"require-dev": {
14-
"kherge/box": "~2.0"
14+
"kherge/box": "~2.0",
15+
"behatch/contexts": "dev-master",
16+
"behat/mink-goutte-driver": "~1.1"
1517
},
1618

1719
"autoload": {

features/test.feature

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
Feature: Test feature
22

33
Scenario: Success
4-
When I am on "http://github.com"
5-
6-
Scenario: Failed
7-
When I execute "cwls"
4+
When I execute "ls"

0 commit comments

Comments
 (0)