mirror of
https://github.com/felt/tippecanoe.git
synced 2026-10-02 08:25:40 +02:00
Merge pull request #483 from mapbox/docker-test
Test inside docker on travis
This commit is contained in:
+13
@@ -6,6 +6,19 @@ sudo: false
|
|||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
|
# test on docker
|
||||||
|
- os: linux
|
||||||
|
compiler: clang
|
||||||
|
services:
|
||||||
|
- docker
|
||||||
|
sudo: true
|
||||||
|
dist: trusty
|
||||||
|
env: DOCKERFILE=Dockerfile
|
||||||
|
before_install: []
|
||||||
|
install:
|
||||||
|
- docker build -t tippecanoe-image -f ${DOCKERFILE} .
|
||||||
|
script:
|
||||||
|
- docker run -it tippecanoe-image
|
||||||
# debug+integer-santizer build
|
# debug+integer-santizer build
|
||||||
- os: linux
|
- os: linux
|
||||||
compiler: clang
|
compiler: clang
|
||||||
|
|||||||
+1
-6
@@ -15,10 +15,5 @@ COPY . /tmp/tippecanoe-src
|
|||||||
RUN make \
|
RUN make \
|
||||||
&& make install
|
&& make install
|
||||||
|
|
||||||
# Remove the temp directory and unneeded packages
|
|
||||||
WORKDIR /
|
|
||||||
RUN rm -rf /tmp/tippecanoe-src \
|
|
||||||
&& apt-get -y remove --purge build-essential && apt-get -y autoremove
|
|
||||||
|
|
||||||
# Run the default command to show usage
|
# Run the default command to show usage
|
||||||
CMD tippecanoe --help
|
CMD make test
|
||||||
|
|||||||
Reference in New Issue
Block a user