mirror of
https://github.com/irssi/irssi.git
synced 2026-08-23 02:22:36 +02:00
some new tasks for travis
This commit is contained in:
parent
b58be939d2
commit
f6e2b095ed
1 changed files with 15 additions and 0 deletions
15
.travis.yml
15
.travis.yml
|
|
@ -16,11 +16,26 @@ addons:
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- perl -V
|
- perl -V
|
||||||
|
- version="$(git describe --dirty --long --always --tags | tr -- '-|' '+-')"
|
||||||
|
- sed -i -e "s|AC_INIT(irssi,.*|AC_INIT(irssi, $version)|" configure.ac
|
||||||
- ./autogen.sh --with-proxy --with-bot --with-perl=module
|
- ./autogen.sh --with-proxy --with-bot --with-perl=module
|
||||||
- make dist
|
- make dist
|
||||||
- cd ..
|
- cd ..
|
||||||
- tar xaf */irssi-*.tar.*
|
- tar xaf */irssi-*.tar.*
|
||||||
- cd irssi-*
|
- cd irssi-*
|
||||||
|
- cp -a "$TRAVIS_BUILD_DIR"/.git .
|
||||||
|
- git checkout -b build/autoconf
|
||||||
|
- git add -A .
|
||||||
|
- git config user.email 'source@irssi.org'
|
||||||
|
- git config user.name 'Irssi Source Helper'
|
||||||
|
- git commit -q -m 'autoconf for '"$version $TRAVIS_COMMIT"$'\n\n''[skip ci]'
|
||||||
|
- |
|
||||||
|
if [ "$TRAVIS_PULL_REQUEST" = false ] && [ "$TRAVIS_BRANCH" = "master" ] && [ "${TRAVIS_JOB_NUMBER##*.}" = 1 ] && $TRAVIS_SECURE_ENV_VARS; then
|
||||||
|
git config remote.origin.url git@github.com:$TRAVIS_REPO_SLUG
|
||||||
|
echo "$PUSHKEY" > ~/.ssh/id_rsa
|
||||||
|
git push -f -u origin build/autoconf
|
||||||
|
fi
|
||||||
|
- unset PUSHKEY
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- ./configure --with-proxy --with-bot --with-perl=module --prefix=$HOME/irssi-build
|
- ./configure --with-proxy --with-bot --with-perl=module --prefix=$HOME/irssi-build
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue