-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
35 lines (35 loc) · 3.54 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
services:
- postgresql
language: python
python:
- '2.7'
before_install:
- cd getyourdata
- sudo ./create_dev_db.bash
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- sleep 3 # give xvfb some time to start
install:
- pip install -r requirements.txt
- python dev_manage.py migrate
- python dev_manage.py update_translation_fields
script:
- coverage run dev_manage.py test_all
- codeclimate-test-reporter
after_success:
- test $TRAVIS_BRANCH = "datamme_color_theme" && export SSHPASS=$DEPLOY_PASS
- test $TRAVIS_BRANCH = "datamme_color_theme" && sshpass -e ssh -o stricthostkeychecking=no $DEPLOY_USER@$DEPLOY_HOST
"cd $DEPLOY_PATH; ./deploy.sh" &> /dev/null
addons:
apt:
packages:
- sshpass
code_climate:
repo_token: 42571cb2de5890d0afd0580da602aa5ceef9b7eb2d3bec7fa78f294e57b01d24
firefox: "44.0"
env:
global:
- secure: Z0MZzP8JLezxjxfgJ6aL9uW0+8E5lBZ5zN+PxTqpJOliz/CM0coigvIoI72viX7xTd25BOPndim9nhF28LrDSuMm8VxeIOjgIsqJRkTmVa2tJhHqRTPohD46k4jzkTLBgiw4yncsBpwYYpYx9o3a0V7NpPYBkwu4NrAs/LHEv1UeW2qFNr7EpDKiHJPN4CjUgmyd3dLjky/aFvFqviG97VcZ83pvslwr4qHahV/Y/GwGoWupAqmWIOK3Msf/TSHvb+QY8QjWcES5JZYVU+or6iLk6pZ5e54gZvgIZDb/4WHnZDwvCIInn9CnVfHxuPFamEZJZbrJWZYbL3fM/5o7G6K0iiVH44rQ5eO24J3bt7SbEo6I3pYwL0Z66YxmQaPGPdPjU70Hj9O1yviMrIWf+3jVKzQjzCULNkASpXNVtbwAbRNxaN2u9iJImA21dr6sQfau0MPbsO2zuZGlOPs8dHgFXTMfS3uW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