-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MDEV-9185 - Integrate with Travis-CI for easier and more automatic QA
Based on contributions by Daniel Black and Otto Kekäläinen.
- Loading branch information
Sergey Vojtovich
committed
Aug 18, 2016
1 parent
69052ed
commit daff133
Showing
3 changed files
with
73 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
# vim ft=yaml | ||
# travis-ci.org definition | ||
|
||
# non-container builds don't have enough RAM to reliably compile | ||
sudo: required | ||
dist: trusty | ||
|
||
language: cpp | ||
compiler: | ||
- gcc | ||
# - clang # See commit f38808 if you want to re-enable clang builds | ||
cache: | ||
apt: | ||
ccache: | ||
|
||
# Timing on build an test needs to be < 50 minutes. The compile is ~4-5minutes | ||
# so here we group the tests such that this happens. | ||
|
||
addons: | ||
apt: | ||
packages: # make sure these match debian/control contents | ||
- bison | ||
- chrpath | ||
- cmake | ||
- debhelper | ||
- dh-apparmor | ||
- dpatch | ||
- libaio-dev | ||
- libboost-dev | ||
- libjudy-dev | ||
- libncurses5-dev | ||
- libpam0g-dev | ||
- libreadline-gplv2-dev | ||
- libssl-dev | ||
- lsb-release | ||
- perl | ||
- po-debconf | ||
- psmisc | ||
- zlib1g-dev | ||
- libcrack2-dev # no effect as the package is disallowed on Travis-CI | ||
- libjemalloc-dev | ||
- devscripts # implicit for any build on Ubuntu | ||
|
||
script: | ||
- ${CC} --version ; ${CXX} --version | ||
- cd "${TRAVIS_BUILD_DIR}" | ||
- env DEB_BUILD_OPTIONS="parallel=4" debian/autobake-deb.sh; | ||
|
||
notifications: | ||
irc: | ||
channels: | ||
- "chat.freenode.net#maria" | ||
on_success: never # [always|never|change] | ||
on_failure: never | ||
template: | ||
- "%{repository}/%{branch} (%{commit} - %{author}): %{build_url}: %{message}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters