This repository has been archived by the owner on Aug 11, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Laravel updates for Scrutinizer/Travis
- Loading branch information
Showing
5 changed files
with
55 additions
and
75 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,5 +10,5 @@ web.docker | |
.dockerignore | ||
|
||
data | ||
vendor | ||
tests | ||
vendor |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,34 @@ | ||
language: | ||
- php | ||
# language: | ||
# - php | ||
|
||
sudo: required | ||
|
||
env: | ||
env-docker: | ||
DOCKER_COMPOSE_VERSION: 1.18.0 | ||
|
||
services: | ||
- docker | ||
|
||
before_install: | ||
- sudo apt-get update | ||
- sudo apt update | ||
- sudo rm /usr/local/bin/docker-compose | ||
- curl -L https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-`uname -s`-`uname -m` > docker-compose | ||
- chmod +x docker-compose | ||
- sudo mv docker-compose /usr/local/bin | ||
- docker-compose --version | ||
- docker-compose ps -q | xargs docker inspect -f '{{ .State.ExitCode }}' | grep -v 0 | wc -l | tr -d ' ' | ||
|
||
before_script: | ||
- sudo rm -rf /etc/docker | ||
- sudo rm -rf /usr/bin/docker-* | ||
- sudo make docker-start | ||
- sleep 2m | ||
|
||
script: | ||
- docker build -t gggrant/talentcloud:travis-ci_0.0.1 | ||
- sudo make apidoc | ||
# sudo make apidoc | ||
- sudo make gen-certs | ||
- sudo make mysql-dump | ||
- sudo make mysql-restore | ||
- sudo make phpmd | ||
- sudo make test | ||
|
||
after_script: | ||
- docker build -t gggrant/tc-laravel:travis | ||
- sudo make docker-stop |