This repository has been archived by the owner on Jun 18, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7dde401
commit 5cff6d9
Showing
1 changed file
with
29 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,29 @@ | ||
sudo: required | ||
language: php | ||
|
||
services: | ||
- docker | ||
|
||
jobs: | ||
include: | ||
- stage: build extension | ||
env: | ||
- DOCKER_COMPOSE_VERSION=1.16.1 | ||
script: | ||
- docker info | ||
- ./get_fuerte | ||
- 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 build arangodb-builder | ||
- docker-compose run --rm arangodb-builder | ||
- docker-compose build php | ||
- stage: test extension | ||
env: | ||
- DEPENDENCIES="--prefer-lowest --prefer-stable" | ||
script: | ||
- docker run --rm -it --volume $(pwd):/app prooph/composer:7.1 update --prefer-dist $DEPENDENCIES | ||
- docker-compose up -d --no-recreate arangodb | ||
- docker-compose run --rm php vendor/bin/phpunit | ||
- docker-compose down -v |