2016-07-06 20:23:24 +03:00
sudo : false
2014-09-25 22:25:31 +04:00
language : cpp
2016-07-20 10:07:20 +03:00
cache : ccache
2016-07-20 11:28:09 +03:00
os :
- linux
- osx
2016-07-06 20:23:24 +03:00
matrix :
include :
- os : linux
2016-07-20 11:28:09 +03:00
allow_failures :
- os : osx
2014-09-25 22:25:31 +04:00
2016-07-06 20:23:24 +03:00
addons :
apt :
sources :
- ubuntu-toolchain-r-test
packages :
- build-essential
- binutils-gold
- python
- gcc-6
- g++-6
2014-09-25 22:25:31 +04:00
before_script :
2016-07-06 20:23:24 +03:00
- git config --global user.email "ani07nov@gmail.com"
- git config --global user.name "Anirudha Bose"
2014-09-25 22:25:31 +04:00
2016-07-06 20:23:24 +03:00
- |
export TMPDIR=/tmp
mkdir -pv $TMPDIR/cmake
if [ $TRAVIS_OS_NAME == 'linux' ]; then
export CMAKE=$TMPDIR/cmake/bin/cmake
CMAKE_URL="https://cmake.org/files/v3.6/cmake-3.6.0-Linux-x86_64.tar.gz"
travis_retry wget --no-check-certificate -O - $CMAKE_URL | tar --strip-components=1 -xz -C $TMPDIR/cmake
export CC=/usr/bin/gcc-6
export CXX=/usr/bin/g++-6
fi
2014-09-25 22:25:31 +04:00
2016-07-06 20:23:24 +03:00
- $CMAKE --version
- $CC --version
- $CXX --version
script :
- |
if [ -z $TRAVIS_TAG ]; then
tools/packaging/cpt.py --current-dev=tar --with-cling-url=https://github.com/vgvassilev/cling
else
tools/packaging/cpt.py --last-stable=tar --with-cling-url=https://github.com/vgvassilev/cling
fi
2014-09-25 22:25:31 +04:00
notifications :
recipients :
2016-07-06 20:23:24 +03:00
- ani07nov@gmail.com
- vvasilev@cern.ch
2014-09-25 22:25:31 +04:00
email :
on_success : change
on_failure : always
template :
2016-07-06 20:23:24 +03:00
- "%{repository}/%{branch} (%{commit} - %{author}): %{message}"
before_deploy :
- export RELEASE_TARBALL=$(ls $HOME/ci/build/cling*.tar.bz2)
- echo "Deploying $RELEASE_TARBALL to GitHub releases"
2014-09-25 22:25:31 +04:00
2016-07-06 20:23:24 +03:00
deploy :
provider : releases
skip_cleanup : true
2016-07-20 12:08:18 +03:00
api_key :
secure : eIwVHJNxkAIi6IUYyx7qI1szsgWt3c42ugcJ1vZ6iH//+qJgks77I8dMlbRf0RUrhxpJhJPH5a6vqI/mo1Vq2vmoC8+D1DIQCbj+/WHhY71LQCPC+Wgj2JES5y1Wh91nMt4ybzb1dA8BIfeJOdCUn7ezJTGKk18N+h2jE+a/7IE=
2016-07-06 20:23:24 +03:00
file : '${RELEASE_TARBALL}'
on :
tags : true
repo : vgvassilev/cling