Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
fusiondirectory
constant_time_encoding
Commits
40d0f939
Commit
40d0f939
authored
4 years ago
by
Paragon Initiative Enterprises
Browse files
Options
Download
Patches
Plain Diff
Switch from Travis CI to Github Actions
parent
f34c2b11
master
v2.6.3
v2.6.2
v2.6.1
v2.6.0
v2.5.0
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
.github/workflows/ci.yml
+101
-0
.github/workflows/ci.yml
.travis.yml
+0
-24
.travis.yml
README.md
+1
-1
README.md
psalm.xml
+3
-0
psalm.xml
with
105 additions
and
25 deletions
+105
-25
.github/workflows/ci.yml
0 → 100644
+
101
−
0
View file @
40d0f939
name
:
CI
on
:
[
push
]
jobs
:
old
:
name
:
PHP ${{ matrix.php-versions }} Test on ${{ matrix.operating-system }}
runs-on
:
${{ matrix.operating-system }}
strategy
:
matrix
:
operating-system
:
[
'
ubuntu-16.04'
]
php-versions
:
[
'
7.0'
]
phpunit-versions
:
[
'
6.5.14'
]
steps
:
-
name
:
Checkout
uses
:
actions/checkout@v2
-
name
:
Setup PHP
uses
:
shivammathur/setup-php@v2
with
:
php-version
:
${{ matrix.php-versions }}
extensions
:
mbstring, intl
ini-values
:
post_max_size=256M, max_execution_time=180
tools
:
psalm, phpunit:${{ matrix.phpunit-versions }}
-
name
:
Install dependencies
run
:
composer self-update --1; composer install
-
name
:
PHPUnit tests
uses
:
php-actions/phpunit@v2
with
:
memory_limit
:
256M
-
name
:
Static Analysis
run
:
vendor/bin/psalm
moderate
:
name
:
PHP ${{ matrix.php-versions }} Test on ${{ matrix.operating-system }}
runs-on
:
${{ matrix.operating-system }}
strategy
:
matrix
:
operating-system
:
[
'
ubuntu-latest'
]
php-versions
:
[
'
7.1'
,
'
7.2'
,
'
7.3'
]
phpunit-versions
:
[
'
latest'
]
steps
:
-
name
:
Checkout
uses
:
actions/checkout@v2
-
name
:
Setup PHP
uses
:
shivammathur/setup-php@v2
with
:
php-version
:
${{ matrix.php-versions }}
extensions
:
mbstring, intl, sodium
ini-values
:
post_max_size=256M, max_execution_time=180
tools
:
psalm, phpunit:${{ matrix.phpunit-versions }}
-
name
:
Install dependencies
run
:
composer install
-
name
:
Modernize dependencies
run
:
composer require --dev "phpunit/phpunit:>=4"
-
name
:
PHPUnit tests
uses
:
php-actions/phpunit@v2
timeout-minutes
:
30
with
:
memory_limit
:
256M
-
name
:
Static Analysis
run
:
vendor/bin/psalm
modern
:
name
:
PHP ${{ matrix.php-versions }} Test on ${{ matrix.operating-system }}
runs-on
:
${{ matrix.operating-system }}
strategy
:
matrix
:
operating-system
:
[
'
ubuntu-latest'
]
php-versions
:
[
'
7.4'
,
'
8.0'
]
phpunit-versions
:
[
'
latest'
]
steps
:
-
name
:
Checkout
uses
:
actions/checkout@v2
-
name
:
Setup PHP
uses
:
shivammathur/setup-php@v2
with
:
php-version
:
${{ matrix.php-versions }}
extensions
:
mbstring, intl, sodium
ini-values
:
post_max_size=256M, max_execution_time=180
tools
:
psalm, phpunit:${{ matrix.phpunit-versions }}
-
name
:
Install dependencies
run
:
composer install
-
name
:
PHPUnit tests
uses
:
php-actions/phpunit@v2
timeout-minutes
:
30
with
:
memory_limit
:
256M
-
name
:
Static Analysis
run
:
vendor/bin/psalm
This diff is collapsed.
Click to expand it.
.travis.yml
deleted
100644 → 0
+
0
−
24
View file @
f34c2b11
language
:
php
sudo
:
false
matrix
:
fast_finish
:
true
include
:
-
php
:
"
7.1"
-
php
:
"
7.2"
-
php
:
"
7.3"
-
php
:
"
7.4"
-
php
:
"
8.0"
-
php
:
"
nightly"
allow_failures
:
-
php
:
"
nightly"
-
php
:
"
7.4"
-
php
:
"
8.0"
install
:
-
composer self-update
-
composer update
script
:
-
vendor/bin/phpunit
-
vendor/bin/psalm
This diff is collapsed.
Click to expand it.
README.md
+
1
−
1
View file @
40d0f939
# Constant-Time Encoding
[

](https://travis-ci.org
/paragonie/constant_time_encoding)
[

](https://github.com
/paragonie/constant_time_encoding
/actions
)
[

](https://packagist.org/packages/paragonie/constant_time_encoding)
[

](https://packagist.org/packages/paragonie/constant_time_encoding)
[

](https://packagist.org/packages/paragonie/constant_time_encoding)
...
...
This diff is collapsed.
Click to expand it.
psalm.xml
+
3
−
0
View file @
40d0f939
...
...
@@ -6,4 +6,7 @@
<projectFiles>
<directory
name=
"src"
/>
</projectFiles>
<issueHandlers>
<UnnecessaryVarAnnotation
errorLevel=
"info"
/>
</issueHandlers>
</psalm>
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets