Opened 11 years ago

Closed 11 years ago

Last modified 4 years ago

#2436 closed defect (fixed)

Build a travis test bot

Reported by: robe Owned by: robe
Priority: medium Milestone: Website Management, Bots
Component: QA/buildbots Version: 2.0.x
Keywords: Cc:

Description

I think Travis integrates nicely with github, so perhaps instead of having debbie and winnie test git PostGIS, we can instead build a travis script that pulls PostGIS git and tests it.

pgRouting folks I think already build PostGIS as part of their travis testing, so perhaps we can look at their scripts as template of how we want to build ours.

Change History (9)

comment:1 by robe, 11 years ago

Owner: changed from pramsey to robe

comment:2 by robe, 11 years ago

Component: postgisbuildbots

comment:3 by robe, 11 years ago

Update Mat was kind enough to build a travis bot scripts for GEOS. I'll take a look at that and pgRouting one for lessons.

First step seems to be defining a .travis.yml and scripts it should call we should probably start this at the 2.2 stage.

comment:4 by robe, 11 years ago

Getty stepped up t the plate on this one and seems to be making progress.

See irc logs http://irclogs.geoapt.com/postgis/%23postgis.2013-08-24.log

01:12:48	Getty:	btw i am at froscon tomorrow
01:12:51	Getty:	dont know if someone else is
02:16:07	Getty:	it works!!!
02:16:09	Getty:	it still fails
02:16:15	Getty:	but just 3 tests
02:16:37	Getty:	there is a small failure in the repo might be a branch 2_1 problem and fixed in the trunk already
02:16:43	Getty:	but ..... the travis config works
02:16:54	Getty:	runtime 6 minutes
02:17:10	Getty:	testing against GEOS_VERSION 3.4.1 and 3.3.8
02:17:50	Getty:	oh interesting it doesnt works at all with 3.3.8
02:18:22	Getty:	there is a small "bug" that forces a /usr/lib/libgeos_c.so.1 in the regression tests
02:18:59	Getty:	oh wait runtime 3 minutes
02:19:00	Getty:	not 6
14:19:49	robe2:	Getty great job. Thanks a bunch.
14:20:22	robe2:	Getty I don't think any of us tests on 3.3.8 so its possible it doesn't work because of changes strk made in 3.3.9
14:20:38	robe2:	I thoughh we had fixed but maybe not.

comment:5 by robe, 11 years ago

Getty's repo with travis. http://github.com/Getty/postgis

comment:6 by robe, 11 years ago

correction he has it in 2.1 because 2.2 didn't work for some reason:

https://github.com/Getty/postgis/tree/svn-2.1

comment:7 by robe, 11 years ago

update got a travis build using Getty's script and added a libjson-dev to it

https://travis-ci.org/robe2/postgis

It seems his script fails in 2.2 if you don't install libjson, but it worked in 2.1. Getting 3 failures. I'll post to separate ticket as regression bug.

comment:8 by robe, 11 years ago

Resolution: fixed
Status: newclosed

Now done for branches 2.0,2.1, trunk (2.0 done at r11926)

comment:9 by robe, 4 years ago

Milestone: Management 2.0Website Management, Bots

Milestone renamed

Note: See TracTickets for help on using tickets.