Commit a2f5aa4d authored by Dillenn Terumalai's avatar Dillenn Terumalai
Browse files

// WIP

parent c1963bf2
......@@ -6,7 +6,7 @@ before_script:
- composer install
- phpunit
- vendor/bin/phpunit
image: curlimages/curl:latest
project-0 @ c1963bf2
Subproject commit c1963bf2a98f731553b8c71ca8cb6f69bc5a39cd
recurseSubmodules = false
......@@ -5,13 +5,18 @@
set -xe
# Install git (the php image doesn't have it) which is required by composer
apt-get update -yqq
apt-get install git -yqq
# Update packages
apt-get update
# Install phpunit, the tool that we will use for testing
curl --location --output /usr/local/bin/phpunit ""
chmod +x /usr/local/bin/phpunit
# Install PHP and composer dependencies
apt-get install -qq git curl libmcrypt-dev libjpeg-dev libpng-dev libfreetype6-dev libbz2-dev
# Clear out the local repository of retrieved package files
apt-get clean
# Install needed extensions
# Here you can install any other extension that you need during the test and deployment process
docker-php-ext-install mcrypt zip
# Install composer, the dependency manager that we will use to install the PHP required packages
curl --silent --show-error "" | php -- --install-dir=/usr/local/bin --filename=composer
namespace Dterumal\RepositoryArtisan\Tests\Unit;
use Dterumal\RepositoryArtisan\Tests\TestCase;
class ExampleTest extends TestCase
/** @test */
public function true_is_true()
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment