Skip to content

Commit

Permalink
updated travis file for debian generation
Browse files Browse the repository at this point in the history
Signed-off-by: gabrik <gabriele.baldoni@gmail.com>
  • Loading branch information
gabrik committed Feb 14, 2020
1 parent 55c64aa commit 500df46
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ before_install:
- docker cp ../fog05 build:/root/
script:
- docker exec build bash -c "eval \$(opam env) && cd /root/fog05 && ./build.sh"
# building a debian package
- docker exec build bash -c "mkdir /root/build && cd /root && mv fog05 build/fog05-0.1 && cd build && tar -czvf fog05-0.1.tar.gz fog05-0.1"
# building a debian package
- docker exec build bash -c "export DEBEMAIL="info@adlink-labs.tech" && export DEBFULLNAME="ATO Labs" && cd /root/build/fog05-0.1 && dh-make -f ../fog05-0.1.tar.gz -s -y && debuild -us -uc --preserve-envvar PATH && ls -l"
- docker exec build bash -c "cd /root/build/ && dpkg -I fog05_0.1-1_amd64.deb "
- docker exec build bash -c "eval \$(opam env) && cd /root/build/fog05-0.1 && make clean && make -C api/api-python clean && make -C sdk/sdk-python clean"
- docker exec build bash -c "eval \$(opam env) && export DEBEMAIL=\"info@adlink-labs.tech\" && export DEBFULLNAME=\"ATO Labs\" && cd /root/build/fog05-0.1 && dh_make -f ../fog05-0.1.tar.gz -s -y && debuild --preserve-envvar PATH -us -uc && ls -l"
- docker exec build bash -c "cd /root/build/ && dpkg -I fog05_0.1-1_amd64.deb"

0 comments on commit 500df46

Please sign in to comment.