Skip to content
This repository
Fetching contributors…

Cannot retrieve contributors at this time

file 26 lines (20 sloc) 0.686 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
language: php
php:
    - 5.3
    - 5.4

script: "./tests/run-tests.sh -s tests/"

#services:
# - memcached

before_script:
# Install Memcached server (because the built in one is buggy)
  - sudo apt-get -qq install libevent-dev
  - wget http://memcached.googlecode.com/files/memcached-1.4.14.tar.gz
  - tar xzf memcached-1.4.14.tar.gz
  - sh -c "cd memcached-1.4.14 && ./configure && make && ./memcached -d" > /dev/null

# Install Nette Tester
  - curl -s http://getcomposer.org/installer | php
  - php composer.phar install --dev

# PHP Memcache extension
  - echo n | pecl install memcache > /dev/null

# Create Postgre database
  - psql -c 'create database nette_test;' -U postgres
Something went wrong with that request. Please try again.