Skip to content

Commit c8e9d66

Browse files
Fix Github Actions and Remove Travis (#18)
1 parent 9739c9b commit c8e9d66

File tree

5 files changed

+9
-117
lines changed

5 files changed

+9
-117
lines changed

.coveralls.yml

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

.github/workflows/test-application.yaml

Lines changed: 8 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -19,61 +19,33 @@ jobs:
1919
- php-version: '5.6'
2020
lint: false
2121
symfony-version: '^2.8'
22-
elasticsearch-package-constraint: '^5.0'
23-
env:
24-
ELASTICSEARCH_HOST: '127.0.0.1:9205'
22+
elasticsearch-package-constraint: '^5.0'
2523

2624
- php-version: '7.0'
2725
lint: false
2826
symfony-version: '^3.4'
29-
elasticsearch-package-constraint: '^5.0'
30-
env:
31-
ELASTICSEARCH_HOST: '127.0.0.1:9205'
27+
elasticsearch-package-constraint: '^5.0'
3228

3329
- php-version: '7.2'
3430
lint: false
3531
symfony-version: '^3.4'
36-
elasticsearch-package-constraint: '^5.0'
37-
env:
38-
ELASTICSEARCH_HOST: '127.0.0.1:9205'
32+
elasticsearch-package-constraint: '^5.0'
3933

4034
- php-version: '7.3'
4135
lint: false
4236
symfony-version: '^4.4'
43-
elasticsearch-package-constraint: '^5.0'
44-
env:
45-
ELASTICSEARCH_HOST: '127.0.0.1:9205'
37+
elasticsearch-package-constraint: '^5.0'
4638

4739
- php-version: '7.4'
4840
lint: true
4941
symfony-version: '^5.0'
50-
elasticsearch-package-constraint: '^5.0'
51-
env:
52-
ELASTICSEARCH_HOST: '127.0.0.1:9205'
42+
elasticsearch-package-constraint: '^5.0'
5343

5444
services:
5545
elasticsearch5:
5646
image: elasticsearch:5.6.14
5747
ports:
58-
- 9205:9200
59-
env:
60-
discovery.type: 'single-node'
61-
xpack.security.enabled: 'false'
62-
options: --health-cmd="curl http://localhost:9200/_cluster/health" --health-interval=10s --health-timeout=5s --health-retries=5
63-
64-
elasticsearch6:
65-
image: elasticsearch:6.8.4
66-
ports:
67-
- 9206:9200
68-
env:
69-
discovery.type: 'single-node'
70-
xpack.security.enabled: 'false'
71-
options: --health-cmd="curl http://localhost:9200/_cluster/health" --health-interval=10s --health-timeout=5s --health-retries=5
72-
73-
elasticsearch7:
74-
image: elasticsearch:7.9.3
75-
ports:
76-
- 9202:9200
48+
- 9200:9200
7749
env:
7850
discovery.type: 'single-node'
7951
xpack.security.enabled: 'false'
@@ -111,12 +83,7 @@ jobs:
11183
11284
- name: Fix code style
11385
if: ${{ matrix.lint }}
114-
run: vendor/bin/phpcs -p --standard=PSR2 --ignore=vendor/,Tests/app/ ./
86+
run: vendor/bin/phpcs -p --standard=PSR2 --ignore=vendor/,Tests/app/,Profiler/Handler/BackwardCompatibilityWriteTrait.php ./
11587

11688
- name: Run tests
117-
run: vendor/bin/simple-phpunit --coverage-clover=coverage.clover
118-
119-
- name: Upload coverage results to Coveralls
120-
run: vendor/bin/php-coveralls -v
121-
env:
122-
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
89+
run: vendor/bin/simple-phpunit

.scrutinizer.yml

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

.travis.yml

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

composer.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,7 @@
3939
"symfony/phpunit-bridge": "^5.1",
4040
"symfony/dependency-injection": "^2.8|^3.4|^4|^5",
4141
"symfony/validator": "^2.8|^3.4|^4|^5",
42-
"symfony/options-resolver": "^2.8|^3.4|^4|^5",
43-
"php-coveralls/php-coveralls": "^2.4.3"
42+
"symfony/options-resolver": "^2.8|^3.4|^4|^5"
4443
},
4544
"autoload": {
4645
"psr-4": { "ONGR\\ElasticsearchBundle\\": "" },

0 commit comments

Comments
 (0)