2011-08-29 10:20:25 +04:00
|
|
|
A simple regular testing of Moses codebase, aka cruise control
|
2011-10-21 22:27:56 +04:00
|
|
|
--------------------------------------------------------------
|
2011-08-29 10:20:25 +04:00
|
|
|
|
2011-10-21 22:27:56 +04:00
|
|
|
Features:
|
2011-08-29 10:20:25 +04:00
|
|
|
|
2011-10-21 22:27:56 +04:00
|
|
|
- Checkout latest commits
|
|
|
|
- Test configure, make, make scripts
|
|
|
|
- Run regression tests
|
|
|
|
- Run a sample EMS pipeline
|
|
|
|
- Report results into logfiles
|
2011-10-22 01:36:20 +04:00
|
|
|
- A simple web interface in PHP
|
2011-08-29 10:20:25 +04:00
|
|
|
|
2011-10-21 22:27:56 +04:00
|
|
|
How to run cruise control:
|
2011-08-29 10:20:25 +04:00
|
|
|
|
2011-10-21 22:27:56 +04:00
|
|
|
1) Download and compile SRILM
|
2011-08-29 10:20:25 +04:00
|
|
|
|
2011-10-21 22:27:56 +04:00
|
|
|
2) Download, compile and install IRSTLM
|
2011-08-29 10:20:25 +04:00
|
|
|
|
2011-10-21 22:27:56 +04:00
|
|
|
3) Edit the configuration file example.config. You can create as many
|
|
|
|
configuration files as you like.
|
2011-08-29 10:20:25 +04:00
|
|
|
|
2011-10-21 22:27:56 +04:00
|
|
|
4) Execute ./test_all_new_commits.sh yourfile.config
|
2011-08-29 10:20:25 +04:00
|
|
|
|
2011-10-21 22:27:56 +04:00
|
|
|
|
2011-10-22 01:36:20 +04:00
|
|
|
How to set up the web interface:
|
|
|
|
|
|
|
|
1) Install Apache and PHP
|
|
|
|
|
2011-10-22 13:44:27 +04:00
|
|
|
2) Copy files from cruise-control/web into Apache's www directory
|
|
|
|
|
|
|
|
3) Point StaticData::logs_path to correct directory, e.g. /home/cruise/logs/example/
|
2011-10-22 01:36:20 +04:00
|
|
|
Default value is 'data', you might want to just create a symlink.
|
|
|
|
|
2011-10-21 22:27:56 +04:00
|
|
|
Written by Ondrej Bojar, Ales Tamchyna, Barry Haddow, Rimas Blazaitis
|