forked from OSGeo/PROJ
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
62 lines (56 loc) · 1.28 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# This is the config file for building proj.4 and running its test suite
# with Travis-ci.org
language: c
compiler:
- gcc
- clang
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 ..
script:
- echo "done"
notifications:
#email:
# recipients:
irc:
channels:
- "irc.freenode.org#gdal"
use_notice: true