Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate jobs away from Travis to Github Actions #4310

Merged
merged 1 commit into from
Oct 15, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
497 changes: 492 additions & 5 deletions .github/workflows/continuous-integration.yml

Large diffs are not rendered by default.

191 changes: 0 additions & 191 deletions .travis.yml

This file was deleted.

9 changes: 4 additions & 5 deletions tests/travis/install-db2-ibm_db2.sh → ci/github/ext/install-ibm_db2.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ set -ex
echo "Installing extension"
(
# updating APT packages as per support recommendation
sudo apt -y -q update
sudo apt install ksh
sudo apt-get -y -q update
sudo apt-get install ksh php-pear

cd /tmp

Expand All @@ -21,7 +21,6 @@ echo "Installing extension"
cd ibm_db2-*
phpize
./configure --with-IBM_DB2=/tmp/dsdriver
make -j `nproc`
make install
echo -e 'extension=ibm_db2.so\nibm_db2.instance_name=db2inst1' > ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/ibm_db2.ini
make -j "$(nproc)"
sudo make install
)
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@

<testsuites>
<testsuite name="Doctrine DBAL Test Suite">
<directory>../Doctrine/Tests/DBAL</directory>
<directory>../../../tests</directory>
</testsuite>
</testsuites>

<coverage>
<include>
<directory suffix=".php">../../lib/Doctrine</directory>
<directory suffix=".php">../../../lib/Doctrine</directory>
</include>
</coverage>
</phpunit>
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<php>
<var name="db_driver" value="mysqli"/>
<var name="db_host" value="127.0.0.1"/>
<var name="db_port" value="33306"/>
<var name="db_port" value="3306"/>
<var name="db_ssl_ca" value="ca.pem"/>
<var name="db_ssl_cert" value="client-cert.pem"/>
<var name="db_ssl_key" value="client-key.pem"/>
Expand All @@ -25,13 +25,13 @@

<testsuites>
<testsuite name="Doctrine DBAL Test Suite">
<directory>../Doctrine/Tests/DBAL</directory>
<directory>../../../tests</directory>
</testsuite>
</testsuites>

<coverage>
<include>
<directory suffix=".php">../../lib/Doctrine</directory>
<directory suffix=".php">../../../lib/Doctrine</directory>
</include>
</coverage>
</phpunit>
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,20 @@
<php>
<var name="db_driver" value="mysqli"/>
<var name="db_host" value="127.0.0.1" />
<var name="db_port" value="33306"/>
<var name="db_port" value="3306"/>
<var name="db_user" value="root" />
<var name="db_dbname" value="doctrine_tests" />
</php>

<testsuites>
<testsuite name="Doctrine DBAL Test Suite">
<directory>../Doctrine/Tests/DBAL</directory>
<directory>../../../tests</directory>
</testsuite>
</testsuites>

<coverage>
<include>
<directory suffix=".php">../../lib/Doctrine</directory>
<directory suffix=".php">../../../lib/Doctrine</directory>
</include>
</coverage>
</phpunit>
4 changes: 2 additions & 2 deletions ci/github/phpunit.oci8.xml → ci/github/phpunit/oci8.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@

<testsuites>
<testsuite name="Doctrine DBAL Test Suite">
<directory>../../tests</directory>
<directory>../../../tests</directory>
</testsuite>
</testsuites>

<coverage>
<include>
<directory suffix=".php">../../lib/Doctrine</directory>
<directory suffix=".php">../../../lib/Doctrine</directory>
</include>
</coverage>
</phpunit>
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,20 @@
<php>
<var name="db_driver" value="pdo_mysql"/>
<var name="db_host" value="127.0.0.1" />
<var name="db_port" value="33306"/>
<var name="db_port" value="3306"/>
<var name="db_user" value="root" />
<var name="db_dbname" value="doctrine_tests" />
</php>

<testsuites>
<testsuite name="Doctrine DBAL Test Suite">
<directory>../Doctrine/Tests/DBAL</directory>
<directory>../../../tests</directory>
</testsuite>
</testsuites>

<coverage>
<include>
<directory suffix=".php">../../lib/Doctrine</directory>
<directory suffix=".php">../../../lib/Doctrine</directory>
</include>
</coverage>
</phpunit>
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@

<testsuites>
<testsuite name="Doctrine DBAL Test Suite">
<directory>../../tests</directory>
<directory>../../../tests</directory>
</testsuite>
</testsuites>

<coverage>
<include>
<directory suffix=".php">../../lib/Doctrine</directory>
<directory suffix=".php">../../../lib/Doctrine</directory>
</include>
</coverage>
</phpunit>
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,19 @@
<var name="db_driver" value="pdo_pgsql"/>
<var name="db_host" value="localhost" />
<var name="db_user" value="postgres" />
<var name="db_password" value="postgres" />
<var name="db_dbname" value="doctrine_tests" />
</php>

<testsuites>
<testsuite name="Doctrine DBAL Test Suite">
<directory>../Doctrine/Tests/DBAL</directory>
<directory>../../../tests</directory>
</testsuite>
</testsuites>

<coverage>
<include>
<directory suffix=".php">../../lib/Doctrine</directory>
<directory suffix=".php">../../../lib/Doctrine</directory>
</include>
</coverage>
</phpunit>
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@

<testsuites>
<testsuite name="Doctrine DBAL Test Suite">
<directory>../Doctrine/Tests/DBAL</directory>
<directory>../../../tests</directory>
</testsuite>
</testsuites>

<coverage>
<include>
<directory suffix=".php">../../lib/Doctrine</directory>
<directory suffix=".php">../../../lib/Doctrine</directory>
</include>
</coverage>
</phpunit>
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@
>
<testsuites>
<testsuite name="Doctrine DBAL Test Suite">
<directory>../Doctrine/Tests/DBAL</directory>
<directory>../../../tests</directory>
</testsuite>
</testsuites>

<coverage>
<include>
<directory suffix=".php">../../lib/Doctrine</directory>
<directory suffix=".php">../../../lib/Doctrine</directory>
</include>
</coverage>
</phpunit>
Loading