Browse code

switch from travis to github actions workflow

Hanno Böck authored on17/10/2021 11:21:07
Showing1 changed files
1 1
deleted file mode 100644
... ...
@@ -1,11 +0,0 @@
1
-language: php
2
-php:
3
-  - '7.4'
4
-  - '8.0'
5
-install:
6
-  - wget https://cs.symfony.com/download/php-cs-fixer-v2.phar
7
-  - wget -O local-php-security-checker https://github.com/fabpot/local-php-security-checker/releases/download/v1.0.0/local-php-security-checker_1.0.0_linux_amd64
8
-  - chmod +x local-php-security-checker
9
-script:
10
-  - php php-cs-fixer-v2.phar fix --rules @PSR1,@PSR2,no_whitespace_in_blank_line --dry-run --diff .
11
-  - ./local-php-security-checker
Browse code

CI: switch from old PHP security checker to local-php-security-checker + don't run on old PHP versions

Hanno Böck authored on28/02/2021 21:13:58
Showing1 changed files
... ...
@@ -1,10 +1,11 @@
1 1
 language: php
2 2
 php:
3
-  - '7.3'
4 3
   - '7.4'
4
+  - '8.0'
5 5
 install:
6 6
   - wget https://cs.symfony.com/download/php-cs-fixer-v2.phar
7
-  - wget https://get.sensiolabs.org/security-checker.phar
7
+  - wget -O local-php-security-checker https://github.com/fabpot/local-php-security-checker/releases/download/v1.0.0/local-php-security-checker_1.0.0_linux_amd64
8
+  - chmod +x local-php-security-checker
8 9
 script:
9 10
   - php php-cs-fixer-v2.phar fix --rules @PSR1,@PSR2,no_whitespace_in_blank_line --dry-run --diff .
10
-  - php security-checker.phar security:check
11
+  - ./local-php-security-checker
Browse code

update travis codingstyle rules

Hanno Böck authored on27/12/2019 10:23:25
Showing1 changed files
... ...
@@ -6,5 +6,5 @@ install:
6 6
   - wget https://cs.symfony.com/download/php-cs-fixer-v2.phar
7 7
   - wget https://get.sensiolabs.org/security-checker.phar
8 8
 script:
9
-  - php php-cs-fixer-v2.phar fix --dry-run --diff .
9
+  - php php-cs-fixer-v2.phar fix --rules @PSR1,@PSR2,no_whitespace_in_blank_line --dry-run --diff .
10 10
   - php security-checker.phar security:check
Browse code

php-cs-fixer does not work on nightly

Hanno Böck authored on15/12/2019 09:24:19
Showing1 changed files
... ...
@@ -2,7 +2,6 @@ language: php
2 2
 php:
3 3
   - '7.3'
4 4
   - '7.4'
5
-  - nightly
6 5
 install:
7 6
   - wget https://cs.symfony.com/download/php-cs-fixer-v2.phar
8 7
   - wget https://get.sensiolabs.org/security-checker.phar
Browse code

add CI

Hanno Böck authored on15/12/2019 09:15:25
Showing1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,11 @@
1
+language: php
2
+php:
3
+  - '7.3'
4
+  - '7.4'
5
+  - nightly
6
+install:
7
+  - wget https://cs.symfony.com/download/php-cs-fixer-v2.phar
8
+  - wget https://get.sensiolabs.org/security-checker.phar
9
+script:
10
+  - php php-cs-fixer-v2.phar fix --dry-run --diff .
11
+  - php security-checker.phar security:check