forked from hotosm/MapCampaigner
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
63 lines (52 loc) · 1.2 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
63
# Common to all builds in the build matrixs
os: linux
language: python # This lets us use newer python versions from virtualenv
sudo: false
cache:
apt: true
pip: true
directories:
# commented out - we want to get fresh overpass file each time
#- /tmp # cache any previously downloaded .osm files
timeout: 1000
compiler: clang
python:
- '3.6'
- '3.5'
- '3.4'
env:
global:
- ON_TRAVIS=true
- SECRET_KEY='tT\xd7\xb06\xf7\x9b\xff\x0fZL\xca\xca\x11\xefM\xacr\xfb\xdf\xca\x9b'
- APP_SETTINGS=app_config.DevelopmentConfig
- DATABASE_URL=localhost
matrix:
fast_finish: true
include:
- python: '3.6'
env: TRAVIS_CONFIG=PYTHON3
- python: '3.5'
env: TRAVIS_CONFIG=PYTHON3
- python: '3.4'
env: TRAVIS_CONFIG=PYTHON3
exclude:
- python: '3.6'
- python: '3.5'
- python: '3.4'
git:
depth: 30
before_install:
install:
- pip install coveralls
- pip install -r deployment/docker/requirements.txt
- pip install -r deployment/docker/requirements-dev.txt
before_script:
script:
- cd deployment && make pep8
- nosetests ../flask_project
after_script:
- coveralls
email: