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

Commit

Permalink
travis and docker-file changed
Browse files Browse the repository at this point in the history
  • Loading branch information
maniolek committed Oct 19, 2016
1 parent e216622 commit 1680724
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 25 deletions.
16 changes: 5 additions & 11 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,15 @@ language: php

php:
- 5.5
- 5.6

services:
- mongodb
- memcached

before_install:
- mysql -e "CREATE DATABASE IF NOT EXISTS vegas_test;" -uroot
- sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10
- echo 'deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen' | sudo tee /etc/apt/sources.list.d/mongodb.list
- sudo apt-get update
- sudo apt-get install mongodb-org-server
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 phalcon-v2.0.8
- 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
14 changes: 0 additions & 14 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,9 @@
mongo:
image: mongo:3.0.8
container_name: vegas-cmf-mvc-mongo
command: mongod --smallfiles
expose:
- 27017
- 28017
environment:
- AUTH=no
- TERM=xterm-256color

phpunit:
image: amsdard/phalcon:2.0.8-fpm-5.6
container_name: vegas-cmf-mvc-phpunit
working_dir: /var/www/html
command: vendor/bin/phpunit
environment:
- TERM=xterm-256color
- MONGO_DB_NAME=vegas_test
links:
- mongo:vegas-cmf-mvc-mongo
volumes:
- ./:/var/www/html

0 comments on commit 1680724

Please sign in to comment.