-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
40 lines (37 loc) · 1.03 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
language: python
python:
- "2.7"
env:
global:
- PORT=5000
- DB_URL=mongodb://localhost:27017/fiuberdb-test
- DB_NAME=fiuberdb-test
- SECRET_KEY=umpalumpa
- LOG_LEVEL=ERROR
- TOKEN_DURATION=15
- MONGODB_VERSION=2.6.10
- GOOGLE_KEY=fictitousGoogleKey
- FIREBASE_KEY=fictitousFirebaseKey
notifications:
email:
recipients:
- gonzalpetraglia@gmail.com
- santiago.v.gandolfo@gmail.com
- federicobalina@gmail.com
- christiangelone@gmail.com
on_failure: always
on_success: change
install:
- pip install -r requirements.txt
- wget http://fastdl.mongodb.org/linux/mongodb-linux-x86_64-$MONGODB_VERSION.tgz
- tar xfz mongodb-linux-x86_64-$MONGODB_VERSION.tgz
- export PATH=`pwd`/mongodb-linux-x86_64-$MONGODB_VERSION/bin:$PATH
- mkdir -p data/db
- mongod --dbpath=data/db &
- sleep 3
before_script:
- mongo mydb_test --eval 'db.createUser({user:"travis",pwd:"test",roles:["readWrite"]});'
script:
python manage.py cov
after_success:
coveralls