Skip to content

Commit 78ba4f6

Browse files
committed
Remove travis skeletons
1 parent 93bf62d commit 78ba4f6

File tree

7 files changed

+5
-220
lines changed

7 files changed

+5
-220
lines changed

config/skeletons.yml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -171,17 +171,6 @@ services:
171171
tags:
172172
- { name: phpbb.skeleton.ext.skeleton }
173173

174-
phpbb.skeleton.ext.skeleton.travis:
175-
class: phpbb\skeleton\skeleton
176-
arguments:
177-
- 'travis'
178-
- false
179-
- ['tests']
180-
- ['travis/prepare-phpbb.sh', '.travis.yml']
181-
- 'TEST_DEPLOY'
182-
tags:
183-
- { name: phpbb.skeleton.ext.skeleton }
184-
185174
phpbb.skeleton.ext.skeleton.build:
186175
class: phpbb\skeleton\skeleton
187176
arguments:

language/en/common.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,9 +122,6 @@
122122
'SKELETON_QUESTION_COMPONENT_GITHUBACTIONS' => 'Create a workflow for test execution using Github Actions?',
123123
'SKELETON_QUESTION_COMPONENT_GITHUBACTIONS_UI' => 'Github Actions CI configuration',
124124
'SKELETON_QUESTION_COMPONENT_GITHUBACTIONS_EXPLAIN' => 'Github Actions allow you to run PHPUnit tests on your GitHub repository. This will generate the workflow YML needed to begin testing your phpBB extension with each commit and pull request. Note that this workflow will be inside a hidden folder (.github/workflows).',
125-
'SKELETON_QUESTION_COMPONENT_TRAVIS' => 'Create a sample for test execution on Travis CI?',
126-
'SKELETON_QUESTION_COMPONENT_TRAVIS_UI' => 'Travis CI configuration',
127-
'SKELETON_QUESTION_COMPONENT_TRAVIS_EXPLAIN' => 'Travis CI is a platform for running your PHPUnit tests on a GitHub repository. This will generate the basic config and script files needed to begin testing your phpBB extension with each commit and pull request.',
128125
'SKELETON_QUESTION_COMPONENT_BUILD' => 'Create a sample build script for phing?',
129126
'SKELETON_QUESTION_COMPONENT_BUILD_UI' => 'Build script (phing)',
130127
'SKELETON_QUESTION_COMPONENT_BUILD_EXPLAIN' => 'A phing build script is generated for your extension which can be used to generate build packages to help simplify the release or deployment processes.',

skeleton/.travis.yml.twig

Lines changed: 0 additions & 179 deletions
This file was deleted.

skeleton/README.md.twig

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ Go to "ACP" > "Customise" > "Extensions" and enable the "{{ EXTENSION.extension_
99
{% if COMPONENT.tests %}
1010
## Tests and Continuous Integration
1111

12-
We use {% if COMPONENT.githubactions %}Github Actions {% endif %}{% if COMPONENT.githubactions and COMPONENT.travis %}and {% endif %}{% if COMPONENT.travis %}Travis-CI {% endif %}as a continuous integration server and phpunit for our unit testing. See more information on the [phpBB Developer Docs](https://area51.phpbb.com/docs/dev/master/testing/index.html).
13-
To run the tests locally, you need to install phpBB from its Git repository. Afterwards run the following command from the phpBB Git repository's root:
12+
{% if COMPONENT.githubactions %}We use GitHub Actions as a continuous integration server and phpunit for our unit testing..{% endif %}
13+
To run the tests locally, you need to install phpBB from its Git repository. Afterward run the following command from the phpBB Git repository's root:
1414

1515
Windows:
1616

@@ -20,6 +20,9 @@ others:
2020

2121
phpBB/vendor/bin/phpunit -c phpBB/ext/{{ EXTENSION.vendor_name }}/{{ EXTENSION.extension_name }}/phpunit.xml.dist
2222

23+
24+
See more information on the [phpBB Developer Docs](https://area51.phpbb.com/docs/dev/master/testing/index.html)
25+
2326
{% endif %}
2427
## License
2528

skeleton/build.xml.twig

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,9 @@
2525
-->
2626
<delete dir="{{ dir }}/.github" />
2727
<delete dir="{{ dir }}/tests" />
28-
<delete dir="{{ dir }}/travis" />
2928

3029
<delete file="{{ dir }}/.gitignore" />
3130
<delete file="{{ dir }}/.gitattributes" />
32-
<delete file="{{ dir }}/.travis.yml" />
3331
<delete file="{{ dir }}/build.xml" />
3432
<delete file="{{ dir }}/composer.lock" />
3533
<delete file="{{ dir }}/composer.phar" />

skeleton/travis/prepare-phpbb.sh.twig

Lines changed: 0 additions & 22 deletions
This file was deleted.

tests/console/create_test.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,6 @@ public function get_questions()
185185
// 'SKELETON_QUESTION_COMPONENT_PERMISSIONS' => 'y',
186186
'SKELETON_QUESTION_COMPONENT_TESTS' => 'y',
187187
'SKELETON_QUESTION_COMPONENT_GITHUBACTIONS' => 'y',
188-
// 'SKELETON_QUESTION_COMPONENT_TRAVIS' => 'n',
189188
// 'SKELETON_QUESTION_COMPONENT_BUILD' => 'y',
190189
];
191190
}

0 commit comments

Comments
 (0)