Browse Source

Update CI stuff

develop
Timothy Warren 1 month ago
parent
commit
361ebcbbe4
2 changed files with 20 additions and 5 deletions
  1. 0
    1
      .travis.yml
  2. 20
    4
      Jenkinsfile

+ 0
- 1
.travis.yml View File

@@ -7,7 +7,6 @@ php:
7 7
   - 7.1
8 8
   - 7.2
9 9
   - 7.3
10
-  - hhvm
11 10
   - nightly
12 11
 
13 12
 script:

+ 20
- 4
Jenkinsfile View File

@@ -4,8 +4,8 @@ pipeline {
4 4
  		stage('PHP 7.1') {
5 5
  			agent {
6 6
  				docker {
7
- 				    image 'php:7.1-alpine'
8
- 				    args '-u root --privileged'
7
+ 					image 'php:7.1-alpine'
8
+ 					args '-u root --privileged'
9 9
  				}
10 10
  			}
11 11
  			steps {
@@ -20,8 +20,8 @@ pipeline {
20 20
  		stage('PHP 7.2') {
21 21
  			agent {
22 22
  				docker {
23
- 				    image 'php:7.2-alpine'
24
- 				    args '-u root --privileged'
23
+ 					image 'php:7.2-alpine'
24
+ 					args '-u root --privileged'
25 25
  				}
26 26
  			}
27 27
  			steps {
@@ -33,5 +33,21 @@ pipeline {
33 33
  				sh 'phpdbg -qrr -- ./vendor/bin/phpunit --coverage-text --colors=never'
34 34
  			}
35 35
  		}
36
+		stage('PHP 7.3') {
37
+			agent {
38
+				docker {
39
+					image 'php:7.3-alpine'
40
+					args '-u root --privileged'
41
+				}
42
+			}
43
+			steps {
44
+				sh 'chmod +x ./build/docker_install.sh'
45
+				sh 'sh build/docker_install.sh'
46
+				sh 'apk add --no-cache php7-phpdbg'
47
+				sh 'curl -sS https://getcomposer.org/installer | php'
48
+				sh 'php composer.phar install --ignore-platform-reqs'
49
+				sh 'phpdbg -qrr -- ./vendor/bin/phpunit --coverage-text --colors=never'
50
+			}
51
+		}
36 52
  	}
37 53
  }

Loading…
Cancel
Save