Skip to content

Commit ab6fb23

Browse files
committed
update CI images
1 parent e0b6338 commit ab6fb23

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

.circleci/config.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,18 @@ version: 2
22
jobs:
33
build:
44
docker:
5-
- image: circleci/php:5.6-cli-node-browsers
5+
- image: cimg/php:7.1-browsers
66
steps:
77
- checkout
88
- run:
99
name: Get latest testspace client
10-
command: curl -s https://testspace-client.s3.amazonaws.com/testspace-linux-dev.tgz | sudo tar -zxvf- -C /usr/local/bin
10+
command: curl -s https://testspace-client.s3.amazonaws.com/testspace-linux.tgz | sudo tar -zxvf- -C /usr/local/bin
1111
- run:
1212
name: Configure testspace client
1313
command: testspace config url samples.testspace.com
1414
- run: composer install
1515
- run: vendor/bin/phpcs src tests --report-gitblame=analysis-sniffer-blame.txt --report-checkstyle=analysis-sniffer.xml || true
16-
- run: vendor/bin/phpmd src,tests xml codesize,naming,unusedcode --reportfile analysis-mess.xml || true
16+
- run: vendor/bin/phpmd src,tests xml codesize,naming,unusedcode --reportfile analysis-mess.xml || true
1717
- run: vendor/bin/phpunit tests/unit --log-junit tests-results.xml --coverage-clover coverage.xml
1818
- run:
1919
name: Send reports to testspace

.github/workflows/ci.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,14 @@ on:
66

77
jobs:
88
build:
9-
runs-on: ubuntu-18.04
9+
runs-on: ubuntu-latest
1010
steps:
1111
- uses: shivammathur/setup-php@v2
1212
with:
13-
php-version: 5.6
13+
php-version: 7.1
1414
extensions: sqlite
1515
tools: composer, phpcs, phpmd, phpunit
16-
- uses: actions/checkout@v2
17-
with:
18-
fetch-depth: 50
16+
- uses: actions/checkout@v3
1917
- uses: testspace-com/setup-testspace@v1
2018
with:
2119
domain: samples

0 commit comments

Comments
 (0)