Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
L
laravel-mongodb
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
sinan
laravel-mongodb
Commits
49ec04dd
Commit
49ec04dd
authored
Jun 26, 2018
by
Stanislav Shupilkin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Separate installing vendors by composer use official image of composer
parent
e2a91bb7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
.travis.yml
.travis.yml
+3
-0
docker-compose.yml
docker-compose.yml
+1
-1
No files found.
.travis.yml
View file @
49ec04dd
...
@@ -8,6 +8,9 @@ php:
...
@@ -8,6 +8,9 @@ php:
services
:
services
:
-
docker
-
docker
before_script
:
-
docker pull composer
-
docker run --rm -v $(pwd):/app composer install --prefer-source --no-interaction
install
:
install
:
-
docker version
-
docker version
-
sudo pip install docker-compose
-
sudo pip install docker-compose
...
...
docker-compose.yml
View file @
49ec04dd
...
@@ -11,7 +11,7 @@ services:
...
@@ -11,7 +11,7 @@ services:
working_dir
:
/code
working_dir
:
/code
environment
:
environment
:
PHP_VERSION
:
${PHP_VERSION}
PHP_VERSION
:
${PHP_VERSION}
command
:
bash -c "
composer install --prefer-source --no-interaction &&
php ./vendor/bin/phpunit"
command
:
bash -c "php ./vendor/bin/phpunit"
depends_on
:
depends_on
:
-
mysql
-
mysql
-
mongodb
-
mongodb
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment