Automated tests
This commit is contained in:
parent
c124aad12c
commit
d23e65764f
9
.travis.yml
Normal file
9
.travis.yml
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
language: php
|
||||||
|
php:
|
||||||
|
- 5.5
|
||||||
|
- 5.4
|
||||||
|
- 5.3
|
||||||
|
before_script:
|
||||||
|
- echo "serverName = your.domain.name" >> system/config/config.ini
|
||||||
|
- cat system/config/config.ini
|
||||||
|
script: php yellow.php build test
|
|
@ -3,6 +3,8 @@ Yellow
|
||||||
|
|
||||||
Yellow is a CMS **for people** who make websites.
|
Yellow is a CMS **for people** who make websites.
|
||||||
|
|
||||||
|
[![Build Status](https://secure.travis-ci.org/markseu/yellowcms.png)](https://travis-ci.org/markseu/yellowcms)
|
||||||
|
|
||||||
How do I install this?
|
How do I install this?
|
||||||
----------------------
|
----------------------
|
||||||
1. [Download Yellow](https://github.com/markseu/yellowcms/archive/master.zip) and unzip it.
|
1. [Download Yellow](https://github.com/markseu/yellowcms/archive/master.zip) and unzip it.
|
||||||
|
|
|
@ -54,7 +54,7 @@ class YellowCommandline
|
||||||
list($name, $command, $path, $location) = $args;
|
list($name, $command, $path, $location) = $args;
|
||||||
if(!empty($path) && $path!="/")
|
if(!empty($path) && $path!="/")
|
||||||
{
|
{
|
||||||
if($this->yellow->config->isExisting("serverName") && $this->yellow->config->isExisting("serverBase"))
|
if($this->yellow->config->isExisting("serverName"))
|
||||||
{
|
{
|
||||||
$serverName = $this->yellow->config->get("serverName");
|
$serverName = $this->yellow->config->get("serverName");
|
||||||
$serverBase = $this->yellow->config->get("serverBase");
|
$serverBase = $this->yellow->config->get("serverBase");
|
||||||
|
|
Loading…
Reference in a new issue