PHP Classes

File: .travis.yml

Recommend this page to a friend!
  Classes of Maik Greubel  >  Caribu ORM  >  .travis.yml  >  Download  
File: .travis.yml
Role: Auxiliary data
Content type: text/plain
Description: Travis ci configuration
Class: Caribu ORM
Map objects to databases records using annotations
Author: By
Last change: Cleanup
Date: 2 years ago
Size: 647 bytes
 

Contents

Class file image Download
language: php

php:
  - 7.0
  - 7.1

sudo: false

matrix:
  fast_finish: true

addons:
  postgresql: "9.3"
  
env: TEST_USER=root TEST_PASSWORD= TEST_DATABASE=caribu_test PG_TEST_USER=postgres PG_TEST_PASSWORD= PG_TEST_DATABASE=caribu_test

before_script:
  - wget http://getcomposer.org/composer.phar
  - php composer.phar install --dev --no-interaction
  - mysql -e 'create database caribu_test'
  - psql -c 'create database caribu_test;' -U postgres
  
script:
  - mkdir -p build/logs
  - phpunit --coverage-text --coverage-clover=coverage.clover

after_script:
  - php vendor/bin/ocular code-coverage:upload --format=php-clover coverage.clover

For more information send a message to info at phpclasses dot org.