forked from transportkollektiv/hsl-map-server
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
24 lines (19 loc) · 970 Bytes
/
.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
sudo: required
branches:
only:
- master
services: docker
install: true
env:
global:
# this is set to a Finnish API server as we need a working API for the map server to start. of course it doesn't return
# useful information for Germany but at least we can test that the tiles exist (even though they are empty).
- OTP_URL=api.digitransit.fi/routing/v1/routers/hsl/index/graphql
# the actual roadworks API server seems to block requests from the travis build hosts and therefore we need to override the URL and use static JSON hosted on Github
- ROADWORKS_API_URL="https://gist.githubusercontent.com/leonardehrenfried/394c25941028670b5be26ef24248725d/raw/428c0c14cf6ee62f926a798fa7fda6755740185b/roadworks.json"
- ORG=mfdz
- DOCKER_USER=lehrenfried
language: C
script:
- wget -qO- "https://baustellen.strassen.baden-wuerttemberg.de/bis_wfs/wfs?VERSION=1.0.0&typeName=bis:Baustelle&request=GetFeature&outputFormat=json"
- ./travis-build.sh