diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2015-08-25 17:25:32 +0200 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2015-08-25 17:25:32 +0200 |
| commit | b5038d6549247888f0494cf724c23df669be715f (patch) | |
| tree | f4b8b3453e271890411189c4db450935e5dc8c2f | |
| parent | 6d6091824184b257f983357e40db3f1f39f62257 (diff) | |
| download | PROJ-4.9.tar.gz PROJ-4.9.zip | |
Add .travis.yml to branch/4.94.9
| -rw-r--r-- | .travis.yml | 78 |
1 files changed, 78 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..24be7a6e --- /dev/null +++ b/.travis.yml @@ -0,0 +1,78 @@ +# This is the config file for building proj.4 and running its test suite +# with Travis-ci.org + +language: c + +compiler: + - gcc + - clang + +before_install: + - sudo pip install git+git://github.com/tbonfort/cpp-coveralls.git@extensions + +install: +# cmake build + - mkdir build_cmake + - cd build_cmake + - cmake .. -DCMAKE_INSTALL_PREFIX=/tmp/proj_cmake_install + - make -j3 + - make install + - find /tmp/proj_cmake_install + - cd .. +# autoconf build + - mkdir build_autoconf + - cd build_autoconf + - ../configure --prefix=/tmp/proj_autoconf_install + - make -j3 + - make install + - find /tmp/proj_autoconf_install + - make check + - cd .. +# Now with grids + - wget http://download.osgeo.org/proj/proj-datumgrid-1.5.zip + - cd nad + - unzip -o ../proj-datumgrid-1.5.zip + - cd .. +# cmake build with grids + - mkdir build_cmake_nad + - cd build_cmake_nad + - cmake .. -DCMAKE_INSTALL_PREFIX=/tmp/proj_cmake_install_nad + - make -j3 + - make install + - find /tmp/proj_cmake_install_nad + - cd .. +# autoconf build with grids + - mkdir build_autoconf_nad + - cd build_autoconf_nad + - ../configure --prefix=/tmp/proj_autoconf_install_nad + - make -j3 + - make install + - find /tmp/proj_autoconf_install_nad + - make check + - cd src + - make multistresstest + - make test228 + - cd .. + - PROJ_LIB=../nad src/multistresstest + - cd .. +# autoconf build with grids and coverage + - CFLAGS="--coverage" LDFLAGS="-lgcov" ./configure + - make -j3 + - make check + - mv src/.libs/*.gc* src + +script: + - echo "done" + +after_success: + - coveralls --extension .c + +notifications: + #email: + # recipients: + # - gdal-commits@lists.osgeo.org + + irc: + channels: + - "irc.freenode.org#gdal" + use_notice: true |
