forked from wikimedia/WikiContrib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
72 lines (71 loc) · 9.97 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
64
65
66
67
68
69
70
71
72
matrix:
include:
- language: python
python:
- 3.5.2
services: mysql
before_install:
- cd backend/WikiContrib
- mv WikiContrib/.env.example WikiContrib/.env
- mv WikiContrib/local_settings.py WikiContrib/local_settings_sample.py
- mv WikiContrib/local_settings_travis.py WikiContrib/local_settings.py
- mysql -e 'create database travis_db;'
install:
- pip3 install -r requirements.txt
script:
- python manage.py migrate --noinput
- python manage.py collectstatic --noinput
- echo "Temporarily tests are disabled"
addons:
ssh_known_hosts: "${DEPLOY_HOST}"
before_deploy:
- cd ../../
- openssl aes-256-cbc -K $encrypted_382dfcbe1831_key -iv $encrypted_382dfcbe1831_iv
-in deploy_rsa.enc -out /tmp/deploy_rsa -d
- eval "$(ssh-agent -s)"
- chmod 600 /tmp/deploy_rsa
- ssh-add /tmp/deploy_rsa
- echo -e "Host $SERVER_IP_ADDRESS\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config
deploy:
provider: script
script: bash deploy/deploy_backend.sh
on:
branch: master
- language: node_js
node_js:
- 4.2.6
before_install:
- cd frontend/WikiContrib-Frontend/
install:
- echo "npm install currently disabled"
addons:
ssh_known_hosts: "${DEPLOY_HOST}"
script:
- echo "npm test temporarily disabled"
before_deploy:
- cd ../../
- openssl aes-256-cbc -K $encrypted_382dfcbe1831_key -iv $encrypted_382dfcbe1831_iv
-in deploy_rsa.enc -out /tmp/deploy_rsa -d
- eval "$(ssh-agent -s)"
- chmod 600 /tmp/deploy_rsa
- ssh-add /tmp/deploy_rsa
- echo -e "Host $SERVER_IP_ADDRESS\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config
deploy:
provider: script
script: bash deploy/deploy_frontend.sh
on:
branch: master
env:
global:
- secure: JOtiHMRYT3yeemEb1D5mFRpme9TpASRg5RkyG6lFDI3fuvoD/36+zNCJ+1fj7Jp0cIpnz1gbYQ+VA1M9peithCCVZxnaK9soL1x8OBwpq2bXAdaRc+yhzvCN/sADhZABHbxoT/SK1kb2Dq1g6F0UdFgE4me+EE5ORtck3Lc8fwU2wuNxBwInHDUGWa+ul8cpEdKxJuJVggfc289Az+ebsXOUYPyTjDBCYafEcpG4SE2qeCLHMapn3w8IPPx45kMnvZj6bzOHWNN+57Q35z4Slce2/CG0DoVZ0yeIRMYsibTidPqLd72kYB9lMXNnS5Gx++AB3Sp3hMRLr8JnyyPg7t9WbF3hzwtRxtYi7U8sqn/JCqM+3290FcDtpMCDIXyLC9iluuycOAl/yYFKRp6JAOUVNR6dxMnnx4ujtLGFPDBQfrpyZXxTnGTyupDwoIA1o8zPTtdLcroVPBSL6StsASBYBQoZZkJpxdLO+1Bq/Fe9N8ng4dV8xo6NJnVp2TohD+WhxqX3B7Dq67MvMzh3e2TWz1WROFCAeImt2KdIhU5rGVzcqFJcO3oKYiiYd+qTGxxdUIIiPGcLT4ZZdJ6JLA8DD2RchpSwCt/jtuAV/5EfCx23kHrEE5kBNIbZ5YGAQEN3/Xck99+h2rlF4CuxMA/2GPL8GToHMNgYk446NEU=
- secure: BH+R4yRugMbf9cH95KJmN+97KziTpFBKTKgAZhSFKcxuKYlFtv0WmdFGG1dzeOy4eESK4RaeBIn9Xi+mibdO1S5g5ZKCF9hJsVMSDyd/Dqou3Wj8PnB9KsX/1pPw6i61ZRB2j1wAUUMTksQ8dg2V0CLs5N7UlBb374tm8W0JDBFajdqf1kSwFAC44z+xZMzR6bnLW2srpTMOuThU5Hp4zOq7K7K3icfS6cGz/vKzhEkqsP/3ZwOE4HuvzirbWCbqpK+hM8LqNMxxHRyuL4dJEHLoiRrbXGv1hmqG0hO4vvRs/ozD3Y8P4KPpP9zrPzeRe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