Skip to content
This repository has been archived by the owner on Jun 18, 2020. It is now read-only.

Commit

Permalink
Enable Travis (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
sandrokeil committed Nov 15, 2017
1 parent 7dde401 commit 5cff6d9
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .travis.yml
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

0 comments on commit 5cff6d9

Please sign in to comment.