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
43c38004
Commit
43c38004
authored
Jun 26, 2018
by
Stanislav Shupilkin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add build arg in docker-compose.yml
parent
e51fe15a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
.travis.yml
.travis.yml
+1
-2
docker-compose.yml
docker-compose.yml
+1
-1
No files found.
.travis.yml
View file @
43c38004
...
...
@@ -12,9 +12,8 @@ install:
-
docker version
-
sudo pip install docker-compose
-
docker-compose version
-
sed -i -e "s/php:cli/php:${TRAVIS_PHP_VERSION}-cli/g" Dockerfile
-
cat Dockerfile
-
docker-compose build
-
docker-compose build
--build-arg PHP_VERSION="${TRAVIS_PHP_VERSION}"
script
:
-
docker-compose up --exit-code-from php
docker-compose.yml
View file @
43c38004
...
...
@@ -10,7 +10,7 @@ services:
-
.:/code
working_dir
:
/code
environment
:
PHP_VERSION
:
${
TRAVIS_
PHP_VERSION}
PHP_VERSION
:
${PHP_VERSION}
command
:
bash -c "composer install --prefer-source --no-interaction && php ./vendor/bin/phpunit"
depends_on
:
-
mysql
...
...
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