Commit 70168978 authored by Aleksey Midenkov's avatar Aleksey Midenkov

Scripts: Travis-CI for natsys/trunk

parent 5dea5165
# vim ft=yaml # vim ft=yaml
# travis-ci.org definition # travis-ci.org definition
branches:
only:
- natsys/trunk
# non-container builds don't have enough RAM to reliably compile # non-container builds don't have enough RAM to reliably compile
sudo: required sudo: required
dist: trusty dist: trusty
...@@ -68,13 +72,7 @@ script: ...@@ -68,13 +72,7 @@ script:
- export MYSQL_BUILD_CC=/usr/bin/gcc-${GCC_VERSION} MYSQL_BUILD_CXX=/usr/bin/g++-${GCC_VERSION} - export MYSQL_BUILD_CC=/usr/bin/gcc-${GCC_VERSION} MYSQL_BUILD_CXX=/usr/bin/g++-${GCC_VERSION}
- ${MYSQL_BUILD_CC} --version ; ${MYSQL_BUILD_CXX} --version - ${MYSQL_BUILD_CC} --version ; ${MYSQL_BUILD_CXX} --version
- cd "${TRAVIS_BUILD_DIR}" - cd "${TRAVIS_BUILD_DIR}"
- env DEB_BUILD_OPTIONS="parallel=3" debian/autobake-deb.sh; - cmake -DCMAKE_BUILD_TYPE=Debug -DWITH_INNOBASE_STORAGE_ENGINE=yes -DWITH_JEMALLOC=yes -DSECURITY_HARDENED=no -DWITH_PIC=no -DCMAKE_CXX_FLAGS_DEBUG="-g -O0" -DCMAKE_C_FLAGS_DEBUG="-g -O0"
- make -j $(grep -c processor /proc/cpuinfo)
notifications: - cd ./mysql-test
irc: - ./mtr --suite=versioning --force --max-test-fail=0
channels:
- "chat.freenode.net#maria"
on_success: never # [always|never|change]
on_failure: never
template:
- "%{repository}/%{branch} (%{commit} - %{author}): %{build_url}: %{message}"
...@@ -67,4 +67,4 @@ https://github.com/MariaDB/server ...@@ -67,4 +67,4 @@ https://github.com/MariaDB/server
Code status: Code status:
------------ ------------
* [![tests status](https://secure.travis-ci.org/MariaDB/server.png?branch=10.2)](https://travis-ci.org/MariaDB/server) travis-ci.org (10.2 branch) * [![tests status](https://travis-ci.org/natsys/mariadb_10.2.svg?branch=natsys%2Ftrunk)](https://travis-ci.org/natsys/mariadb_10.2) travis-ci.org (natsys/trunk)
Markdown is supported
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