mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2024-12-22 21:40:08 +00:00
Testing Travis-CI
This commit is contained in:
parent
19da935f68
commit
4c3a101455
4
.travis.yml
Normal file
4
.travis.yml
Normal file
@ -0,0 +1,4 @@
|
||||
language: php
|
||||
php:
|
||||
- 5.3
|
||||
script: ./build.php
|
16
build.php
Normal file
16
build.php
Normal 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');
|
Loading…
Reference in New Issue
Block a user