Yann Leboulanger pushed to branch gajim_0.16 at gajim / gajim
Commits: 200d58fe by Yann Leboulanger at 2017-08-08T21:20:05+02:00 Add .gitlab-ci.yml - - - - - 4612ba98 by Yann Leboulanger at 2017-08-08T21:43:04+02:00 Merge branch 'gajim_0.16' into 'gajim_0.16' Add .gitlab-ci.yml See merge request !113 - - - - - 1 changed file: - + .gitlab-ci.yml Changes: ===================================== .gitlab-ci.yml ===================================== --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,41 @@ +before_script: + - sudo apt-get update -qq && sudo apt-get install -y -qq libtool pkg-config libglib2.0-dev $(apt-cache depends gajim-nightly | grep Depends | sed "s/.*ends:\ //" | tr '\n' ' ') + - sudo apt-get build-dep -y -qq gajim-nightly + +stages: + - test + - build + +run-test: + stage: test + script: + - make test + +run-build: + stage: build + script: + - ./autogen.sh + - make dist + - export FN="gajim-"$(date +%F)".tar" + - mv gajim-*.tar.gz $FN.gz + - mkdir tmp_add_plugins + - mv $FN.gz tmp_add_plugins/ + - cd tmp_add_plugins/ + - tar xzf $FN.gz + - rm $FN.gz + - export GF=$(find . -maxdepth 1 -type d -name 'gajim-*') + - cd $GF/plugins/ + - curl -O https://ftp.gajim.org/plugins_0.16_zip/plugin_installer.zip + - unzip plugin_installer.zip + - rm plugin_installer.zip + - cd ../.. + - tar czf ../$FN.gz gajim-* + - cd .. + - rm -rf tmp_add_plugins + - scp $FN.gz panoramix:/var/www/gajim/downloads/snap/gajim-$CI_COMMIT_SHA.tar.gz + + artifacts: + name: "gajim-$CI_COMMIT_REF_NAME-$CI_COMMIT_SHA" + expire_in: 1 week + paths: + - gajim-2???-??-??.tar.gz View it on GitLab: https://dev.gajim.org/gajim/gajim/compare/74dea79668973d3c4e00fe776c0ba71226bfee7c...4612ba98bdad57d30ea6bc4d7610815fe91164c9 --- View it on GitLab: https://dev.gajim.org/gajim/gajim/compare/74dea79668973d3c4e00fe776c0ba71226bfee7c...4612ba98bdad57d30ea6bc4d7610815fe91164c9 You're receiving this email because of your account on dev.gajim.org.
_______________________________________________ Commits mailing list Commits@gajim.org https://lists.gajim.org/cgi-bin/listinfo/commits