.travis.yml 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. # Author: Ivan Mincik, ivan.mincik@gmail.com
  2. language: c
  3. compiler:
  4. - gcc
  5. - clang
  6. cache: apt
  7. before_install:
  8. # build dependencies
  9. - sudo add-apt-repository ppa:ubuntugis/ubuntugis-unstable -y
  10. - sudo apt-get update -qq
  11. # test dataset
  12. - wget http://grass.osgeo.org/sampledata/north_carolina/nc_basic_spm_grass7.tar.gz
  13. - tar xzf ./nc_basic_spm_grass7.tar.gz
  14. install:
  15. - sudo apt-get install --no-install-recommends
  16. autoconf2.13
  17. autotools-dev
  18. debhelper
  19. fakeroot
  20. flex
  21. bison
  22. libcairo2-dev
  23. libfftw3-dev
  24. libfreetype6-dev
  25. libgdal-dev
  26. libgeos-dev
  27. libglu1-mesa-dev
  28. libjpeg-dev
  29. libpng-dev
  30. libtiff-dev
  31. libmysqlclient-dev
  32. libncurses5-dev
  33. libpq-dev
  34. libproj-dev
  35. proj-bin
  36. libreadline-dev
  37. libsqlite3-dev
  38. libwxgtk2.8-dev
  39. libxmu-dev
  40. python
  41. python-wxgtk2.8
  42. python-dev
  43. unixodbc-dev
  44. libnetcdf-dev
  45. netcdf-bin
  46. dpatch
  47. libblas-dev
  48. liblapack-dev
  49. python-numpy
  50. env:
  51. global:
  52. - CFLAGS="-Werror=implicit-function-declaration"
  53. script:
  54. - ./configure --host=x86_64-linux-gnu --build=x86_64-linux-gnu
  55. --prefix=/usr/lib
  56. --sysconfdir=/etc
  57. --sharedstatedir=/var
  58. --enable-shared
  59. --with-postgres
  60. --with-cxx
  61. --with-gdal
  62. --with-freetype
  63. --with-readline
  64. --with-nls
  65. --with-odbc
  66. --with-geos
  67. --with-lapack
  68. --with-netcdf
  69. --with-blas
  70. --with-sqlite
  71. --enable-largefile
  72. --with-freetype-includes=/usr/include/freetype2/
  73. --with-postgres-includes=/usr/include/postgresql/
  74. --with-proj-share=/usr/share/proj
  75. --with-wxwidgets=/usr/bin/wx-config
  76. --with-python
  77. --with-cairo
  78. - make -j2
  79. notifications:
  80. email:
  81. recipients:
  82. - grass-dev@lists.osgeo.org
  83. - landa.martin@gmail.com
  84. - wenzeslaus@gmail.com
  85. on_success: change
  86. on_failure: always