forked from Kami11/chat
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
37 lines (33 loc) · 1013 Bytes
/
.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
language: python
python:
- "3.5"
#- "3.6"
# PyPy versions
- "pypy-5.3.1"
before_install:
# - mysql -u root -e 'CREATE DATABASE kisschat'
# - mysql -u root -e 'update mysql.user set password=PASSWORD("matreshka") where User='root';
- mysql -u root -e 'CREATE USER 'kiss'@'localhost' IDENTIFIED BY "matreshka"; GRANT ALL PRIVILEGES ON * . * TO 'kiss'@'localhost';'
- mysql -u kiss -pmatreshka -e 'CREATE DATABASE kisschat'
- openssl aes-256-cbc -K $encrypted_5cbd2f819ea7_key -iv $encrypted_5cbd2f819ea7_iv -in dd.enc -out dd -d
- chmod 400 ./dd
# command to run tests
script:
- pwd
# Integration testing
# - mysql -u root
# - mysql -u root -ppassword
# - mysql -u root -pletmein
- ./integration_test.sh
# - python3 unit_tests.py
# command to install dependencies
install:
- pip3 install .
- pip3 install -r requirements.txt
# - pip3 install tornado
- sudo -H python setup.py install
after_success:
- ifconfig
- echo $test_var
- ./deploy.sh
# - kisschat -a 0.0.0.0