From e9ef11896b642fe54a256c576ebec45c8b3eb053 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Sat, 8 Nov 2014 00:43:23 +0100 Subject: [PATCH] add travis --- .travis.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 000000000..e481a187a --- /dev/null +++ b/.travis.yml @@ -0,0 +1,28 @@ +language: php +php: + - 5.5 + - 5.6 + - hhvm-nightly + +matrix: + allow_failures: + - php: hhvm-nightly + +addons: + postgresql: "9.3" + +install: + - composer install --dev + - cp Tests/Fixtures/App/config/parameters.travis.yml Tests/Fixtures/App/config/parameters.yml + +before_script: + - psql -c 'create database test0;' -U postgres + - php Tests/Fixtures/App/console --env=test cache:warmup + - php Tests/Fixtures/App/console doctrine:schema:create --env=test --no-interaction + - php Tests/Fixtures/App/console doctrine:fixtures:load --env=test --no-interaction + +script: phpunit --coverage-text + +notifications: + email: + - info@champs-libres.coop