1# See http://readme.drone.io/usage/overview
2pipeline:
3  build:
4    image: docker.kbt.io/php-geos/build-test:trisquel
5    pull: true
6    commands:
7      - export PATH=${PHP_BIN}:${GEOS_BIN}:${PATH}
8      - php --version
9      #  Always use newest phpize or we'll be hit by
10      #  false negatives on make check, see
11      #  https://git.osgeo.org/gogs/geos/php-geos/issues/16
12      - /opt/php-7.1.0/bin/phpize
13      - ./configure
14      - make
15      - make check
16matrix:
17  PHP_BIN:
18    - /opt/php-5.4.9/bin/
19    - /opt/php-5.5.38/bin/
20    - /opt/php-5.6.28/bin/
21    - /opt/php-7.0.13/bin/
22    - /opt/php-7.1.0/bin/
23  GEOS_BIN:
24    - /opt/geos-3.4.3/bin/
25    - /opt/geos-3.5.1/bin/
26    - /opt/geos-3.6.0/bin/
27