8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-22 16:43:03 +01:00

Revive travis scripts and build badge in README.md with build+install only. If one knows how to make the tests run, feel free to adjust or comment.

This commit is contained in:
Adriano dos Santos Fernandes 2017-03-29 23:16:59 -03:00
parent 92a9e56723
commit ac401d0c70
3 changed files with 19 additions and 23 deletions

View File

@ -11,24 +11,24 @@ branches:
- master
install:
- wget --no-check-certificate https://www.cmake.org/files/v3.2/cmake-3.2.3-Linux-x86_64.sh
- sudo sh cmake-3.2.3-Linux-x86_64.sh --skip-license --prefix=/usr
# wget --no-check-certificate https://www.cmake.org/files/v3.2/cmake-3.2.3-Linux-x86_64.sh
# sudo sh cmake-3.2.3-Linux-x86_64.sh --skip-license --prefix=/usr
- sudo apt-get update
- sudo apt-get install -y libtommath0 libtommath-dev
- sudo python -m pip install Mako fdb
- svn co http://svn.code.sf.net/p/firebird/code/qa/fbtest/trunk/ fbtest
- svn co http://svn.code.sf.net/p/firebird/code/qa/fbt-repository/trunk/ fbtest/fbt
# sudo python -m pip install Mako fdb
# svn co http://svn.code.sf.net/p/firebird/code/qa/fbtest/trunk/ fbtest
# svn co http://svn.code.sf.net/p/firebird/code/qa/fbt-repository/trunk/ fbtest/fbt
script:
- ./autogen.sh
- make -j2
- sudo echo `pwd`/gen/Release/firebird/lib | sudo tee --append /etc/ld.so.conf
- sudo ldconfig
- sudo ./gen/Release/firebird/bin/gsec -add sysdba -pw masterkey
- chmod 777 travis.sh
- sudo ./travis.sh start_server &
- ./travis.sh dummy_output &
- ./travis.sh skip_tests
- sleep 3
- cd fbtest/fbt
- python ../fbtest.py -d `pwd`/tmp -b `pwd`/../../gen/Release/firebird/bin -v -x -k ../../skip.txt
- ./autogen.sh --enable-binreloc --prefix=/opt/firebird
- make -j4
- make dist
- tar xzvf gen/Firebird-[0-9]*.tar.gz
- (cd Firebird-[0-9]*; sudo ./install.sh -silent)
- sudo usermod -a -G firebird travis
# sg firebird -c "/opt/firebird/bin/gsec -user sysdba -add sysdba -pw masterkey"
# ./travis.sh dummy_output &
# ./travis.sh skip_tests
# sleep 3
# cd fbtest/fbt
# sg firebird -c "python ../fbtest.py -d `pwd`/tmp -b /opt/firebird/bin -v -x -k ../../skip.txt"

View File

@ -1,3 +1,5 @@
[![Build Status](https://travis-ci.org/FirebirdSQL/firebird.svg?branch=master)](https://travis-ci.org/FirebirdSQL/firebird)
# Firebird README
Firebird is a relational database offering many ANSI SQL standard features that runs on Linux, Windows, MacOS and a variety of Unix platforms. Firebird offers excellent concurrency, high performance, and powerful language support for stored procedures and triggers. It has been used in production systems, under a variety of names, since 1981.

6
travis.sh Normal file → Executable file
View File

@ -1,11 +1,5 @@
#!/usr/bin/env bash
start_server() {
until ./gen/Release/firebird/bin/firebird; do
echo "Firebird crashed with exit code $?. Restarting..." >&2
done
}
dummy_output() {
while true; do
sleep 9m