forked from weblabdeusto/weblabdeusto
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
26 lines (26 loc) · 1.04 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
sudo: false
language: python
cache: pip
os:
- linux
# - windows
# - osx
services:
- redis-server
- mysql
python: 2.7
install:
- echo "Setting mysql params to get around 'mysql has gone away' errors"
- mysql -e "SET GLOBAL sql_mode = 'NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES'"
- mysql -e "SET GLOBAL wait_timeout = 36000;"
- mysql -e "SHOW VARIABLES LIKE 'wait_timeout';"
- mysql -e "SET GLOBAL max_allowed_packet = 67108864;"
- mysql -e "SHOW VARIABLES LIKE 'max_allowed_packet';"
- pip install --upgrade pip
- pip install -r server/src/requirements.txt -r server/src/requirements_recommended.txt -r server/src/requirements_suggested.txt -r server/src/requirements_testing.txt
- python server/src/develop.py --deploy-test-db --db-engine=mysql --db-create-db --db-admin-user=root --db-admin-passwd=""
#- npm install -g mocha
#- cd experiments/unmanaged/http/nodejs; npm install; cd ../../../../;
script:
- cd server/src; python develop.py -o -v
# - cd ../../experiments/unmanaged/http/nodejs/; mocha --exit