Skip to content

Commit 8cc8424

Browse files
committed
Add testing for all commands
Signed-off-by: Riddhesh Sanghvi <[email protected]>
1 parent 2984c5a commit 8cc8424

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

.travis.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,14 @@ install:
2222

2323
before_script:
2424
- composer validate
25-
- sudo ./vendor/bin/behat
25+
26+
script:
2627
- ./ci/prepare.sh
28+
- sudo ./vendor/bin/behat
29+
- ./ci/test-commands.sh
30+
31+
after_script:
32+
- cat /opt/easyengine/ee.log
2733

2834
jobs:
2935
include:

ci/test-commands.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#!/bin/bash
2+
3+
# called by Travis CI
4+
5+
for repo in "$(find vendor/easyengine -type d -name 'features')"; do
6+
rsync -a --delete $repo/ features
7+
sudo ./vendor/bin/behat
8+
done

0 commit comments

Comments
 (0)