File: .travis.yml

Recommend this page to a friend!
  Classes of Ankit Jain  >  Registration Module  >  .travis.yml  >  Download  
File: .travis.yml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Registration Module
Register and login users in MySQL database records
Author: By
Last change:
Date: 3 years ago
Size: 480 bytes
 

Contents

Class file image Download
language: php

services:
  - mysql
php:
  - 5.6

before_install:
  - cp ./config/database.travis.php ./config/database.php
  - composer require phpunit/phpunit:4.8.* satooshi/php-coveralls:dev-master
  - composer install --dev --ignore-platform-reqs
  - mysql -e 'CREATE DATABASE account;'
  - mysql -u root  account < ./sql/registration-module.sql

script:
  - mkdir -p build/logs
  - phpunit --coverage-clover build/logs/clover.xml

after_script:
  - php vendor/bin/coveralls -v

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