-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
33 lines (33 loc) · 1.41 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
language: python
python: "2.7"
sudo: false
services:
- mysql
- couchdb
addons:
apt:
packages:
- antiword
cache:
pip: true
ccache: true
directories:
- eggs
before_cache:
- rm -f $HOME/.cache/pip/log/debug.log
before_install:
- mysql -uroot -e 'create database manoseimas charset=utf8;'
- printf "[client]\ndatabase = manoseimas\nuser = root\npassword =\ndefault-character-set = utf8\n" > ~/.my.cnf
install:
- pip install -U pip
- python scripts/genconfig.py config/env/development.cfg
- make
- npm install -g npm@2
- npm install
- npm run build
script:
- mysql -uroot -e 'drop database if exists test_manoseimas; create database test_manoseimas charset=utf8'
- make test
notifications:
slack:
secure: GP9mfQqcwVsGjcGwmGrS8BTkrHraJX0/lZr4aYo7h7MM7XEQv5MW3RmxjdfHvT6HGgIy/y4iucfqleGRc+Rm5acIXG1/gHGXl6o9DJgBwOUJi3nqMZH9+O+HNKEM4Z5LC6MliV4yFhMB5w71wDwPEDNqtzpELbRvRRVF9IfbN+onqkAZ3tvo5uPW2J/z9YEtCKwGtvNQnuzAs/nCxxvpD4LeN4hImlNKlianROcBNH22Y2JXzIigqG06IJhblkbvxo6CF+2V0HDsTCvBgrf+3tzAHRy2tTcNPwvvmWOqzXB5096dNn4SGqQN1UORIF+y6Em55k+ipowAIhREK8DN+Dccgf/RIW7brxukOe7Y5ugT5x8Vy0frk4GZObbEWW6sdGCQUs+aZSRZadh7M4hiqF0J1oZCkNPV+KCQ6fIvQTcjLt4YRPt+lIHQMug5qoGne87+QHWeOKhGaOVdhCnA/r2NeJOvQTj5K7zuQsHoLjGhd6AJ6e12ZctCIvkzntzhCBMxiUfmdREwISj65Xncm34UvT4yTKCrYsDJTSeJnkekxaOUAdKTSvLJapHIlCGfH0umnTA90NNpbuI7meZ0Q6mmwJzXg6MZXr7opZz1vduh+od10JfvVeVaZD33reT9SW8bVaKyv6HHbLtvQk/9eNpUjNKTt008ag9wgG+8uiI=