-
Notifications
You must be signed in to change notification settings - Fork 43
/
.travis.yml
58 lines (49 loc) · 2.01 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
language: python
python:
- '3.4'
addons:
postgresql: '9.4'
apt:
packages:
- gdal-bin
- postgresql-9.4-postgis-2.3
- postgresql-9.4-plv8
services:
- postgresql
- redis-server
sudo: required
dist: trusty
cache: pip
before_install:
- pip install -r requirements.txt
# install:
# - sudo -u postgres psql -c "ALTER USER postgres WITH PASSWORD 'password';"
# - python manage.py init
# script:
# - nosetests --nologcapture tests/test_api/test_point.py -v
# - nosetests --nologcapture tests/test_api/test_shape.py -v
# - nosetests --nologcapture tests/test_api/test_validator.py -v
# - nosetests --nologcapture tests/test_etl/test_point.py -v
# - nosetests --nologcapture tests/submission/ -v
# - nosetests --nologcapture tests/test_sensor_network/test_sensor_networks.py -v
# - nosetests --nologcapture tests/test_models/test_feature_meta.py -v
# - nosetests --nologcapture tests/test_sensor_network/test_nearest.py -v
deploy:
- provider: elasticbeanstalk
region: us-east-1
app: plenario
env: plenario-server
bucket_name: elasticbeanstalk-us-east-1-031052761859
access_key_id:
secure: "ghmLbJnHdoeT7/R82YUxtWaM3KDutzWkaRHQD67cPbOcJ666jKUosBjQUaI1OAFPHMGmRxzPaS8Yt0b9Iyp4tPc+LvLVjkUEhAS9CeqhJiUslBN2huACN9cwA6mt7VwdWCP4AVmd9wgn+yJ/46YMjlkmmU/QbhpDq+lhvN2fPuA="
secret_access_key:
secure: "ndTAOMAppAd1jkTryp+VTVP9A++DgctnfR2AKlg4eg/dwYbj3ZLIsJOSo1rTvxxyphKxJL5umPa4SFzmVVOM4WN6rZKIQKGoFgEUkC3P6jQg28WhESuS09xx2YBGH2RQg8DlQk+FH+bvBNEKIZpuFzWwu957kVnEInS6VWocHzU="
- provider: elasticbeanstalk
region: us-east-1
app: plenario
env: plenario-worker
bucket_name: elasticbeanstalk-us-east-1-031052761859
access_key_id:
secure: "ghmLbJnHdoeT7/R82YUxtWaM3KDutzWkaRHQD67cPbOcJ666jKUosBjQUaI1OAFPHMGmRxzPaS8Yt0b9Iyp4tPc+LvLVjkUEhAS9CeqhJiUslBN2huACN9cwA6mt7VwdWCP4AVmd9wgn+yJ/46YMjlkmmU/QbhpDq+lhvN2fPuA="
secret_access_key:
secure: "ndTAOMAppAd1jkTryp+VTVP9A++DgctnfR2AKlg4eg/dwYbj3ZLIsJOSo1rTvxxyphKxJL5umPa4SFzmVVOM4WN6rZKIQKGoFgEUkC3P6jQg28WhESuS09xx2YBGH2RQg8DlQk+FH+bvBNEKIZpuFzWwu957kVnEInS6VWocHzU="