See https://travis-ci.org/ec-europa/fpfis-repo-dev/builds
- ALWAYS start a new package from master
git checkout master && git checkout -b package
- ALWAYS merge your package back to master when you're done with it
git commit && git checkout master && git merge package
- ALWAYS merge master to your package before working on it
git checkout package && git merge master
- ALWAYS use a descriptive commit message :
php56e 5.5.29-3
- Did this
- Did that
- Fork the repo on your own user account
- Clone your own repo
- Add fpfis-repo as "publish" remote with
git remote add publish git@github.com:ec-europa/fpfis-repo.git
- Create a branch with a
<package-name>
- Create SPECS/
<package-name>
.spec - Create SOURCES/
<package-name>
/.gitkeep
- Run
./build-docker.sh <VERSION> <PACKAGE>
( version is either 6/7, and you need docker )
- Push to get travis build it with
git push
(you need a Travis account)
- Push to
ec-europa:fpfis-repo
publish when ready withgit push publish
docker build -t fpfis/mock conf/
deploy section of travis script + http server setup