Skip to content

Commit

Permalink
add deploy scripts
Browse files Browse the repository at this point in the history
Signed-off-by: Arbuzov Sergey <[email protected]>
  • Loading branch information
Arbuzov committed Jul 13, 2015
1 parent 261beb5 commit bedefa6
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
language: php

env:
- fakeRoot=/tmp/mmp

php:
- 5.3
- 5.4
Expand All @@ -14,3 +17,15 @@ before_script:

script:
- phpunit --bootstrap ./tests/bootstrap.php ./tests/
- rvm use 2.1.5 --install --binary --fuzzy
- gem install package_cloud
- install -d $fakeRoot
- install -d $fakeRoot/DEBIAN/
- install -d $fakeRoot/usr/share/doc/mmp/
- cp deploy/DEBIAN/* $fakeRoot/DEBIAN/
- cp deploy/DEBIAN/copyright $fakeRoot/usr/share/doc/$(projectName)/
- gzip -c -9 deploy/DEBIAN/changelog > $fakeRoot/usr/share/doc/mmp/changelog.Debian.gz
- fakeroot dpkg-deb --build $fakeRoot
- package_cloud push arbuzov/main/debian/squeeze /tmp/mmp.deb
- package_cloud push arbuzov/main/debian/wheezy /tmp/mmp.deb
- package_cloud push arbuzov/main/debian/jessie /tmp/mmp.deb
1 change: 1 addition & 0 deletions deploy/DEBIAN/changelog
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

9 changes: 9 additions & 0 deletions deploy/DEBIAN/control
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Section: misc
Priority: optional
Package: mmp
Version: 0.0.0+1~wheezy
Description: Evanti dyband imitation gui
Special package to maintain mysql migrations
Maintainer: Sergey Arbuzov <[email protected]>
Architecture: all
Depends: php5, php5-cli, php5-mysql
6 changes: 6 additions & 0 deletions deploy/DEBIAN/copyright
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Format : http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Source : https://github.com/
Files : *
Copyright : Maxim Antonov <[email protected]> Sergey Arbuzov <[email protected]>
License: GPL v3
Unspecified GPL v3 style license.

0 comments on commit bedefa6

Please sign in to comment.