1
0
mirror of https://github.com/wbbaddons/Tims-Chat.git synced 2024-10-31 14:10:08 +00:00

Testing Travis-CI

This commit is contained in:
Tim Düsterhus 2011-12-26 15:49:33 +01:00
parent 19da935f68
commit 4c3a101455
2 changed files with 20 additions and 0 deletions

4
.travis.yml Normal file
View File

@ -0,0 +1,4 @@
language: php
php:
- 5.3
script: ./build.php

16
build.php Normal file
View File

@ -0,0 +1,16 @@
#!/usr/bin/env php
<?php
@unlink('file.tar');
@unlink('template.tar');
@unlink('timwolla.wcf.chat.tar');
#exec('coffee -c file/js/*.coffee');
chdir('file');
exec('tar cvf ../file.tar * --exclude=*.coffee');
chdir('..');
chdir('template');
exec('tar cvf ../template.tar *');
chdir('..');
exec('tar cvf timwolla.wcf.chat.tar * --exclude=file --exclude=template --exclude=build.php');
@unlink('file.tar');
@unlink('template.tar');
exec('rm file/js/*.js');