From 3bf257350a8212b013fe7ffac24d05980459cb25 Mon Sep 17 00:00:00 2001 From: Hasin Hayder Date: Sat, 21 May 2022 22:53:25 +0600 Subject: [PATCH] CircleCI Configuration for Tests --- .circleci/config.yml | 8 ++++---- travis.yml | 22 ---------------------- 2 files changed, 4 insertions(+), 26 deletions(-) delete mode 100644 travis.yml diff --git a/.circleci/config.yml b/.circleci/config.yml index 0df544e..4539b12 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -37,7 +37,7 @@ jobs: # fallback to using the latest cache if no exact match is found - v1-dependencies- - - run: composer install -n --prefer-dist + - run: composer install - save_cache: key: v1-dependencies-{{ checksum "composer.json" }} @@ -56,9 +56,9 @@ jobs: touch database/hydra.sqlite php artisan migrate php artisan db:seed - + - run: name: "Run Tests" command: ./vendor/bin/phpunit - - + + diff --git a/travis.yml b/travis.yml deleted file mode 100644 index e4840d5..0000000 --- a/travis.yml +++ /dev/null @@ -1,22 +0,0 @@ -os: - - linux - -language: php - -php: - - '7.1' - - '7.3' - - '7.4' - - '8.0' - - '8.1' - -before_script: - - composer self-update - - composer install --no-interaction - - cp .env.example .env - - touch database/hydra.sqlite - - php artisan migrate - - php artisan db:seed - -script: - - php artisan test