Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
monitoring
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cylab
monitoring
Commits
08fb8839
Commit
08fb8839
authored
5 years ago
by
Tibo
Browse files
Options
Downloads
Patches
Plain Diff
Gitlab-ci
parent
d42f4c18
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.travis-ci.yml
+28
-0
28 additions, 0 deletions
.travis-ci.yml
web/env.test
+39
-0
39 additions, 0 deletions
web/env.test
with
67 additions
and
0 deletions
.travis-ci.yml
0 → 100644
+
28
−
0
View file @
08fb8839
# https://hub.docker.com/_/php/
image
:
php:7.2
before_script
:
# Install git, the php image doesn't have installed
-
apt-get update -yqq
-
apt-get install git -yqq
# Install composer
-
curl -sS https://getcomposer.org/installer | php
# Install PHP-ZIP extension (used by composer)
-
apt-get install -yqq libzip-dev
-
docker-php-ext-install zip
# Install xdebug extension (used for phpunit code coverage)
-
pecl install xdebug
-
docker-php-ext-enable xdebug
# Install all project dependencies
-
php composer.phar install
# setup Laravel
-
cp web/env.test web/.env
-
touch web/storage/app/db.sqlite
-
cd web && php artisan migrate
# Test with PHP7
test:php72
:
image
:
php:7.2
script
:
-
cd web && vendor/bin/phpunit --coverage-text
This diff is collapsed.
Click to expand it.
web/env.test
0 → 100644
+
39
−
0
View file @
08fb8839
APP_NAME
=
Monitor
APP_ENV
=
local
APP_KEY
=
base64
:
p2oYGittQdNtGASsDNp3LGx9YdrwIId4jKncdcEtUdo
=
APP_DEBUG
=
true
APP_LOG_LEVEL
=
debug
APP_URL
=
http
://
localhost
:
8000
DB_CONNECTION
=
sqlite
DB_HOST
=
127.0.0.1
DB_PORT
=
3306
DB_DATABASE
=
homestead
DB_USERNAME
=
homestead
DB_PASSWORD
=
secret
BROADCAST_DRIVER
=
log
CACHE_DRIVER
=
file
SESSION_DRIVER
=
file
SESSION_LIFETIME
=
120
QUEUE_DRIVER
=
sync
REDIS_HOST
=
127.0.0.1
REDIS_PASSWORD
=
null
REDIS_PORT
=
6379
MAIL_DRIVER
=
smtp
MAIL_HOST
=
127.0.0.1
MAIL_PORT
=
1025
MAIL_USERNAME
=
null
MAIL_PASSWORD
=
null
MAIL_ENCRYPTION
=
null
MAIL_FROM_ADDRESS
=
monitor
@
web
-
d
.
be
MAIL_FROM_NAME
=
Monitor
PUSHER_APP_ID
=
PUSHER_APP_KEY
=
PUSHER_APP_SECRET
=
DB_MONGO_HOST
=
mongo
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment