forked from CrunchyData/pg_tileserv
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
62 lines (52 loc) · 1.05 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
language: go
sudo: required
matrix:
include:
- go: tip
os: linux
env: TARGET=linux
- go: tip
os: linux
env: TARGET=windows
- go: tip
os: osx
env: TARGET=osx
- go: tip
os: linux
env: TARGET=docker
services:
- docker
# - go: tip
# os: linux
# env: TARGET=docs
before_install:
- if [ "$TARGET" = "windows" ]; then sudo apt update; fi
install:
- ./ci/travis-install.sh
script:
- ./ci/travis-build.sh
after_success:
- ./ci/travis-after-success.sh
deploy:
- provider: s3
on:
repo: CrunchyData/pg_tileserv
branch: master
condition: $TARGET =~ ^(windows|linux|osx)$
region: us-east-1
bucket: postgisftw
local_dir: "./upload"
overwrite: true
verbose: true
edge: true
access_key_id: ${AWS_ACCESS_KEY_ID}
secret_access_key: ${AWS_SECRET_ACCESS_KEY}
cleanup: false
- provider: script
on:
repo: CrunchyData/pg_tileserv
branch: master
condition: $TARGET = docs
script: ./ci/travis-docs-deploy.sh
cleanup: false
edge: true