-
Notifications
You must be signed in to change notification settings - Fork 20
/
.travis.yml
44 lines (37 loc) · 1 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
language: python
python: "3.5"
services:
- mongodb
- redis-server
addons:
chrome: stable
apt:
sources:
- mongodb-3.0-precise
- elasticsearch-2.x
packages:
- mongodb-org-server
- elasticsearch
cache:
directories:
- $HOME/.cache/pip
- $HOME/.npm
before_install:
- sudo apt-get purge elasticsearch
- sudo apt-get install -t stable elasticsearch
- sudo service elasticsearch restart
- nvm install --lts
- nvm use --lts
- node --version
- npm install -g npm@lts
- npm install -g grunt-cli
install:
- cd server && pip install -r dev-requirements.txt && cd ..
- cd client && npm install && cd ..
script:
- cd client && npm test && cd ..
- cd server && flake8 && cd ..
- cd server && nosetests && cd ..
- cd server && behave ./features/ --format progress2 --logging-level ERROR && cd ..
- cd client && grunt build && cd ..
- cd server && python manage.py users:create -u test -p test -e test@localhost --admin && cd ..