Skip to content
This repository has been archived by the owner on Aug 10, 2022. It is now read-only.

Commit

Permalink
fix travis.yml and docker compose file prepared
Browse files Browse the repository at this point in the history
  • Loading branch information
maniolek committed Oct 19, 2016
1 parent 13ef7e6 commit 2722745
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,15 @@ language: php

php:
- 5.4

services:
- mongodb
- memcached

before_install:
- mysql -e "CREATE DATABASE IF NOT EXISTS vegas_test;" -uroot
- 5.5
- 5.6
env:
global:
- PHALCON_VERSION="phalcon-v2.0.8"

before_script:
- phpenv config-add travis/php.ini
- git clone -q --depth=1 https://github.com/phalcon/cphalcon.git -b master
- git clone -q --depth=1 https://github.com/phalcon/cphalcon.git -b ${PHALCON_VERSION}
- (cd cphalcon/ext; export CFLAGS="-g3 -O1 -fno-delete-null-pointer-checks -Wall"; phpize && ./configure --enable-phalcon && make -j4 && sudo make install && phpenv config-add ../unit-tests/ci/phalcon.ini)
- curl -s http://getcomposer.org/installer | php
- php composer.phar install --dev
Expand Down
9 changes: 9 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
phpunit:
image: amsdard/phalcon:2.0.8-fpm-5.6
container_name: vegas-cmf-session-phpunit
working_dir: /var/www/html
command: vendor/bin/phpunit
environment:
- TERM=xterm-256color
volumes:
- ./:/var/www/html

0 comments on commit 2722745

Please sign in to comment.