GiellaLT provides an infrastructure for rule-based language technology aimed at minority and indigenous languages, and streamlines building anything from keyboards to speech technology. Read more about Why. See also How to get started, and our Privacy document.
https://jenkins.io/ Click link «Download weekly release, 2.6 war, fedora»
Leads to: http://pkg.jenkins-ci.org/redhat/ Add the repository as instructed on the page
PYENV_HOME=$WORKSPACE/.pyenv/
# Delete previously built virtualenv
if [ -d $PYENV_HOME ]; then
rm -rf $PYENV_HOME
fi
# Create virtualenv and install necessary packages
virtualenv --no-site-packages $PYENV_HOME
. $PYENV_HOME/bin/activate
rsync -q /home/boerre/repos/CorpusTools/requirements.txt .
pip install --quiet --upgrade pip
pip install --quiet lxml
pip install --quiet nosexcover
pip install --quiet pylint
pip install --quiet --upgrade -r requirements.txt
pip install --quiet -e .
pip install --quiet $WORKSPACE/ # where your setup.py lives
nosetests --with-xcoverage --with-xunit --cover-package=corpustools --cover-erase
pylint -f parseable corpustools/ | tee pylint.out
First setup a new item, follow the instructions above
In source code management, add giella-core and sma. Set giella-core and sma as local module directories.
Under build step, add execute shell
The following shell runs the build process of sma
# make .bashrc, sma's autogen needs it
touch .bashrc
# setup giella-core
cd $WORKSPACE/giella-core
./autogen.sh
./configure
# setup sma
cd $WORKSPACE/sma
HOME=$WORKSPACE GTLANG_sma=`pwd` ./autogen.sh -l
HOME=$WORKSPACE PATH=$PATH:/usr/local/bin GTCORE=$WORKSPACE/giella-core ./configure
PATH=$PATH:/usr/local/bin make -j4
PATH=$PATH:/usr/local/bin make check