This repository was archived by the owner on Dec 27, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +61
-9
lines changed Expand file tree Collapse file tree 5 files changed +61
-9
lines changed Original file line number Diff line number Diff line change @@ -11,31 +11,27 @@ matrix:
11
11
fast_finish : true
12
12
include :
13
13
- php : 5.5
14
- env :
15
- - TRADITIONAL_PHP=true
16
14
- php : 5.6
17
15
env :
18
- - TRADITIONAL_PHP=true
19
16
- EXECUTE_DEPLOYMENT=true
20
17
- php : 7.0
21
- env :
22
- - TRADITIONAL_PHP=true
23
18
- php : hhvm
24
- env :
25
- - TRADITIONAL_PHP=false
26
19
allow_failures :
27
20
- php : hhvm
28
21
29
22
before_install :
30
23
- openssl aes-256-cbc -K $encrypted_f21abcc37842_key -iv $encrypted_f21abcc37842_iv
31
24
-in .travis/secrets.tar.enc -out .travis/secrets.tar -d
32
- - if [[ $TRADITIONAL_PHP == 'true' ]]; then phpenv config-rm xdebug.ini ; fi
25
+ - if [[ "$TRAVIS_PHP_VERSION" != "hhvm" ]]; then phpenv config-rm xdebug.ini ; fi
33
26
- travis_retry composer self-update
34
27
35
28
install :
36
- - travis_retry composer install --prefer-dist --no-interaction
29
+ - travis_retry composer install --prefer-source --no-interaction
37
30
- composer info -i
38
31
32
+ script :
33
+ - vendor/bin/phpunit
34
+
39
35
after_success :
40
36
- if [[ $EXECUTE_DEPLOYMENT == 'true' && $TRAVIS_BRANCH == 'master' && $TRAVIS_PULL_REQUEST == 'false' ]]; then composer install --no-dev --prefer-dist --no-interaction ; fi
41
37
- if [[ $EXECUTE_DEPLOYMENT == 'true' && $TRAVIS_BRANCH == 'master' && $TRAVIS_PULL_REQUEST == 'false' ]]; then ./bin/deploy.sh ; fi
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <phpunit backupGlobals =" false"
3
+ backupStaticAttributes =" false"
4
+ bootstrap =" ./phpunit.php"
5
+ colors =" true"
6
+ convertErrorsToExceptions =" true"
7
+ convertNoticesToExceptions =" true"
8
+ convertWarningsToExceptions =" true"
9
+ processIsolation =" false"
10
+ stopOnFailure =" false"
11
+ syntaxCheck =" true"
12
+ verbose =" true"
13
+ >
14
+ <testsuites >
15
+ <testsuite name =" jupyter-php-installer/tests" >
16
+ <directory suffix =" .php" >./tests/</directory >
17
+ </testsuite >
18
+ </testsuites >
19
+ <filter >
20
+ <whitelist >
21
+ <directory suffix =" .php" >./src/</directory >
22
+ </whitelist >
23
+ </filter >
24
+ </phpunit >
Original file line number Diff line number Diff line change
1
+ <?php
2
+
3
+ include __DIR__ .'/vendor/autoload.php ' ;
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <phpunit backupGlobals =" false"
3
+ backupStaticAttributes =" false"
4
+ bootstrap =" ./phpunit.php"
5
+ colors =" true"
6
+ convertErrorsToExceptions =" true"
7
+ convertNoticesToExceptions =" true"
8
+ convertWarningsToExceptions =" true"
9
+ processIsolation =" false"
10
+ stopOnFailure =" false"
11
+ syntaxCheck =" true"
12
+ verbose =" true"
13
+ >
14
+ <testsuites >
15
+ <testsuite name =" jupyter-php-installer/tests" >
16
+ <directory suffix =" .php" >./tests/</directory >
17
+ </testsuite >
18
+ </testsuites >
19
+ <filter >
20
+ <whitelist >
21
+ <directory suffix =" .php" >./src/</directory >
22
+ </whitelist >
23
+ </filter >
24
+ <logging >
25
+ <log type =" coverage-text" target =" php://stdout" showUncoveredFiles =" true" />
26
+ <log type =" coverage-html" target =" coverage" showUncoveredFiles =" true" />
27
+ <log type =" coverage-clover" target =" coverage.xml" showUncoveredFiles =" true" />
28
+ </logging >
29
+ </phpunit >
You can’t perform that action at this time.
0 commit comments