mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-22 21:23:04 +01:00
[ci] Initial travis-ci config.
This commit is contained in:
parent
3e9b1d5ae7
commit
c55d3f5033
15
.travis.yml
15
.travis.yml
@ -5,11 +5,24 @@ notifications:
|
|||||||
|
|
||||||
sudo: required
|
sudo: required
|
||||||
|
|
||||||
before_install:
|
install:
|
||||||
- wget http://www.cmake.org/files/v3.2/cmake-3.2.3-Linux-x86_64.sh
|
- wget http://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 sh cmake-3.2.3-Linux-x86_64.sh --skip-license --prefix=/usr
|
||||||
- sudo apt-get install libtommath0 libtommath-dev
|
- sudo apt-get install 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
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- ./autogen.sh
|
- ./autogen.sh
|
||||||
- make
|
- make
|
||||||
|
- 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
|
||||||
|
@ -1,6 +1,4 @@
|
|||||||
# firebird
|
[![Build Status](https://travis-ci.org/asfernandes/firebird.svg?branch=master)](https://travis-ci.org/asfernandes/firebird)
|
||||||
|
|
||||||
|
# Firebird
|
||||||
Firebird git mirror
|
Firebird git mirror
|
||||||
|
|
||||||
CI test
|
|
||||||
|
|
||||||
![alt tag](https://travis-ci.org/asfernandes/firebird.svg?branch=master)
|
|
||||||
|
23
travis.sh
Normal file
23
travis.sh
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
#!/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
|
||||||
|
echo "dummy output"
|
||||||
|
done
|
||||||
|
}
|
||||||
|
|
||||||
|
skip_tests() {
|
||||||
|
SKIP=skip.txt
|
||||||
|
echo bugs.core_0870 >> $SKIP
|
||||||
|
}
|
||||||
|
|
||||||
|
set -e
|
||||||
|
#set -x
|
||||||
|
eval "$1"
|
Loading…
Reference in New Issue
Block a user