forked from tutorgen/hpit_services
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
29 lines (29 loc) · 1.05 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
language: python
python:
- "3.4"
services:
- mongodb
- postgresql
before_install:
- "sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10"
- "echo 'deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen' | sudo tee /etc/apt/sources.list.d/mongodb.list"
- "sudo apt-get update"
- "sudo apt-get install mongodb-org-server mongodb-org-shell"
- "sudo apt-get install python2.7-dev python3-dev"
- "wget http://dist.neo4j.org/neo4j-community-2.1.2-unix.tar.gz"
- "tar xvfz neo4j-community-2.1.2-unix.tar.gz"
- "neo4j-community-2.1.2/bin/neo4j start"
- "sleep 5"
- "mkdir log"
install:
- pip install -r requirements.txt
- git clone https://github.com/sympy/sympy.git sympy
- 'cd sympy && python3 setup.py install && cd ..'
- git clone https://github.com/tutorgen/HPIT-python-client.git hpit-client
- 'cd hpit-client && python3 setup.py install && cd ..'
script:
- "export HPIT_ENV=travis-test"
- python manage.py syncdb
- python manage.py test
- "export HPIT_ENV=travis"
- python manage.py syncdb