Skip to content

Commit b1b08d0

Browse files
committed
unit test updates
1 parent cf4485b commit b1b08d0

6 files changed

+8
-101
lines changed

.travis.yml

+7-5
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ php:
99
- 7.2
1010
- 7.3
1111
- 7.4
12+
- 8.0
1213
- nightly
1314

1415
before_install: true
@@ -26,17 +27,18 @@ install:
2627
- sudo make install
2728
- cd ..
2829
- eval `ssh-agent -s`
29-
- travis/setup-secure-shell.sh
30-
- travis/setup-composer.sh
31-
32-
script:
3330
- git clone -b 2.0 --single-branch https://github.com/phpseclib/phpseclib.git temp
3431
- mv temp/tests tests
3532
- rm tests/Functional/Net/SCPSSH2UserStoryTest.php
3633
- rm tests/Unit/Net/SSH1Test.php
37-
- rm tests/Unit/Net/SSH2Test.php
34+
- rm tests/Unit/Net/SSH2UnitTest.php
3835
- rm tests/Unit/Math/BigInteger/InternalTest.php
3936
- sed -i 's/%s\/..\/phpseclib\/%s/%s\/..\/src\/%s/g' tests/PhpseclibTestCase.php
4037
- sed -i 's/public function testSetPrivate()/private function skiptestSetPrivate()/g' tests/Unit/Crypt/RSA/LoadKeyTest.php
4138
- sh -c "if [ '$TRAVIS_PHP_VERSION' = '5.5' ]; then vendor/bin/phing -f build/build.xml sniff; fi"
39+
- mv temp/travis travis
40+
- travis/setup-secure-shell.sh
41+
- travis/setup-composer.sh
42+
43+
script:
4244
- travis/run-phpunit.sh

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"phpseclib/phpseclib": "^3.0"
2323
},
2424
"require-dev": {
25-
"phpunit/phpunit": "^4.8.35|^5.7|^6.0"
25+
"phpunit/phpunit": "^5.7|^6.0|^9.4"
2626
},
2727
"autoload": {
2828
"psr-4": {"phpseclib\\": "src/"}

travis/install-php-extensions.sh

-25
This file was deleted.

travis/run-phpunit.sh

-34
This file was deleted.

travis/setup-composer.sh

-3
This file was deleted.

travis/setup-secure-shell.sh

-33
This file was deleted.

0 commit comments

Comments
 (0)