Skip to content

Commit

Permalink
Migrate jobs away from Travis to Github Actions
Browse files Browse the repository at this point in the history
It should be faster, and will result in one fewer CI platform to
maintain.
  • Loading branch information
greg0ire committed Oct 15, 2020
1 parent a5f5c51 commit 94fa7f2
Show file tree
Hide file tree
Showing 23 changed files with 510 additions and 423 deletions.
487 changes: 482 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

0 comments on commit 94fa7f2

Please sign in to comment.