Commit 33920ab8 authored by André Anjos's avatar André Anjos 💬
Browse files

Fix travis script

parent adcfb1d4
......@@ -5,8 +5,9 @@ python:
- '3.2'
- '3.3'
env:
secure: S6DJMVHh6RCPSyYEEcN4B4BfD2wIn7AeDAy7Ev57Up6dtt6SdCmYFEUkxhwNOdnKXu5Rw1Kg1jOGtWCykNTv0z5042uQnHDM9QT8vwEPlrCAwEQe+VJk9aAoANQmoo6HuYXc10+9AgJSB0FaGUDoWw1jkfzBXPlmsHbFjsTeIPw=
secure: MkdNBK26DXTkOY41Eew3MvxLg/nSIduDlWWOe2SO20IrgPGFeptTUXXskcP9hDnJj/abuC3JDOYX1WKBy3U9MHc89+tWSQggezecety43uCcG2QQEchu3tktcBPayMxkrzSAZzjmhGKLn8CKlpFXZ1biVgjaR9o6jE9/Rvgc9iU=
global:
- secure: S6DJMVHh6RCPSyYEEcN4B4BfD2wIn7AeDAy7Ev57Up6dtt6SdCmYFEUkxhwNOdnKXu5Rw1Kg1jOGtWCykNTv0z5042uQnHDM9QT8vwEPlrCAwEQe+VJk9aAoANQmoo6HuYXc10+9AgJSB0FaGUDoWw1jkfzBXPlmsHbFjsTeIPw=
- secure: MkdNBK26DXTkOY41Eew3MvxLg/nSIduDlWWOe2SO20IrgPGFeptTUXXskcP9hDnJj/abuC3JDOYX1WKBy3U9MHc89+tWSQggezecety43uCcG2QQEchu3tktcBPayMxkrzSAZzjmhGKLn8CKlpFXZ1biVgjaR9o6jE9/Rvgc9iU=
before_install:
- sudo add-apt-repository -y ppa:biometrics/bob
- sudo apt-get update -qq
......
......@@ -19,15 +19,16 @@ codename=$(basename ${TRAVIS_REPO_SLUG})-${TRAVIS_COMMIT}
server=https://${DOCUSER}:${DOCPASS}@www.idiap.ch/software/bob/docs-upload/
# annotate
echo -e "repo=${TRAVIS_REPO_SLUG}\n" >> ${info}
echo -e "branch=${TRAVIS_BRANCH}\n" >> ${info}
echo -e "tag=${TRAVIS_TAG}\n" >> ${info}
echo -e "build=${TRAVIS_JOB_NUMBER}\n" >> ${info}
echo -e "commit=${TRAVIS_COMMIT}\n" >> ${info}
echo -e "os=${TRAVIS_OS_NAME}\n" >> ${info}
echo "repo=${TRAVIS_REPO_SLUG}" >> ${info}
echo "branch=${TRAVIS_BRANCH}" >> ${info}
echo "tag=${TRAVIS_TAG}" >> ${info}
echo "build=${TRAVIS_JOB_NUMBER}" >> ${info}
echo "commit=${TRAVIS_COMMIT}" >> ${info}
echo "os=${TRAVIS_OS_NAME}" >> ${info}
# compress
tar cfj ${codename}.tar.bz2 sphinx
# send
echo "Uploading ${codename} into webdav server..."
curl -k -T ${codename}.tar.bz2 ${server}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment