Skip to content
This repository has been archived by the owner on May 21, 2021. It is now read-only.

Commit

Permalink
Update travis
Browse files Browse the repository at this point in the history
  • Loading branch information
hedii committed Jan 21, 2018
1 parent 3fcc9bb commit 3441bf5
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 5 deletions.
11 changes: 11 additions & 0 deletions .env.travis
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
APP_NAME=Crawler
APP_ENV=testing
APP_KEY=abcdefghijklmnopqrstuvwxyz
APP_URL=http://localhost

DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=crawler
DB_USERNAME=root
DB_PASSWORD=
17 changes: 12 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
language: php
php:
- 7.2
sudo: false
before-script:
- travis_retry composer self-update
install:
- composer create-project hedii/php-crawler . --no-interaction
before_script:
- cp .env.travis .env
- composer self-update
- composer install --no-interaction
- php artisan key:generate
- php artisan crawler:build
before_install:
- mysql -e 'CREATE DATABASE crawler;'
script:
- vendor/bin/phpunit
services:
- mysql

0 comments on commit 3441bf5

Please sign in to comment.