-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.travis.yml
More file actions
40 lines (33 loc) · 793 Bytes
/
.travis.yml
File metadata and controls
40 lines (33 loc) · 793 Bytes
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
sudo: required
language: python
python:
- "3.6"
services:
- postgresql
addons:
postgresql: "9.6"
install:
- sudo apt-get install gdal-bin libgdal-dev libspatialindex-c3
- sudo apt-get install -y postgresql-9.6-postgis-2.3
- sudo service postgresql restart
- make bootstrap
before_script:
- psql -U postgres -c 'create extension postgis;' travis
- sudo -u postgres createdb -O travis -p 5432 admin &>/dev/null
script:
- make test
#
# before_deploy:
# - sh $TRAVIS_BUILD_DIR/scripts/set_env.sh $TRAVIS_BUILD_DIR/.env
# - git add -f $TRAVIS_BUILD_DIR/.env
# - git status
#
# deploy:
# skip_cleanup: true
# provider: elasticbeanstalk
# region: "eu-central-1"
# app: "clacket"
# env: "clacket-env"
# bucket_name: "clacket"
# on:
# branch: master