-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- long running builds, at least 1h (https://travis-ci.org/github/EdgedesignCZ/phpqa/builds/757068989) - webhooks and app disabled via github settings - init dummy github actions (https://github.com/actions/starter-workflows/blob/main/ci/php.yml, https://github.hscsec.cnmunity/t/force-push-wont-re-trigger-workflow/16780)
- Loading branch information
1 parent
90a8dc0
commit 696f54f
Showing
12 changed files
with
77 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,6 @@ tests | |
vendor | ||
*-phpqa.* | ||
.php_cs* | ||
.travis.yml | ||
docker-compose.yml | ||
phpunit.xml | ||
auth.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
name: PHPQA CI | ||
|
||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Debug | ||
run: pwd && ls -lAh | ||
|
||
# DEPRECATED TRAVIS | ||
#sudo: required | ||
#dist: trusty | ||
#language: php | ||
#services: | ||
# - docker | ||
#matrix: | ||
# include: | ||
# - php: 5.4 | ||
# - php: 5.5 | ||
# - php: 5.6 | ||
# - php: 7.0 | ||
# - php: 7.1 | ||
# - php: 7.2 | ||
# - php: 7.3 | ||
# - php: 7.4 | ||
#install: | ||
# - if [ -n "$GITHUB_OAUTH_TOKEN" ]; then composer config -g github-oauth.github.com ${GITHUB_OAUTH_TOKEN}; fi; | ||
# - composer install --no-interaction | ||
# - | | ||
# # test latest tool versions (needs symfony3 components) | ||
# if [[ ${TRAVIS_PHP_VERSION:0:3} == "7.1" ]]; then | ||
# # 1) delete sebastian dependency hell | ||
# composer remove phpunit/phpunit --dev --no-interaction && composer remove sebastian/phpcpd --no-interaction; | ||
# # 2) update tools | ||
# composer update; | ||
# # 3) reinstall sebastian... | ||
# composer require phpunit/phpunit:~7.0 --dev && composer require sebastian/phpcpd; | ||
# # 4) install suggested tools | ||
# bin/suggested-tools.sh install; | ||
# # 5) hotfix CI issues - see commit 48dd427 | ||
# composer require sensiolabs/security-checker:~5; | ||
# fi | ||
# # test installing suggested tools like docker image | ||
# if [[ ${TRAVIS_PHP_VERSION:0:3} == "7.2" ]]; then | ||
# bin/suggested-tools.sh install --prefer-dist; | ||
# fi | ||
#script: | ||
# - vendor/phpunit/phpunit/phpunit | ||
# - ./phpqa tools | ||
# - bin/ci.sh | ||
# - ls -lAh build | ||
#deploy: | ||
# - provider: script | ||
# script: .docker/build-image | ||
# skip_cleanup: false | ||
# on: | ||
# all_branches: true | ||
# php: 7.2 | ||
## http://blog.wyrihaximus.net/2015/07/composer-cache-on-travis/ | ||
#cache: | ||
# directories: | ||
# - vendor | ||
# - $HOME/.composer/cache | ||
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
#!/bin/sh | ||
|
||
./phpqa --config tests/.travis | ||
./phpqa --config tests/.ci |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.