-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
40 lines (33 loc) · 1.29 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
# Copyright (c) 2015 Intracom S.A. Telecom Solutions. All rights reserved.
#
# This program and the accompanying materials are made available under the
# terms of the Eclipse Public License v1.0 which accompanies this distribution,
# and is available at http://www.eclipse.org/legal/epl-v10.html
sudo: required
dist: trusty
language: python
python:
- "2.7"
virtualenv:
system_site_packages: true
#before_install:
# command to install dependencies
#install:
before_script:
- sudo apt-get update -qq
- sudo bash ./deploy/provision.sh
- sudo bash travis-jobs/create_user.sh
script:
- source /opt/venv_multinet/bin/activate
# - bash /opt/multinet/bin/venv_handler_master.sh /opt/multinet /opt/multinet/bin/deploy /opt/multinet/config/test-config.json
- PYTHONPATH=/opt/multinet bin/deploy --json-config config/test-config.json
- cat /tmp/multinet/master_log.txt
- cat /tmp/multinet/multi/worker.py_127.0.0.1_3333_log.txt
- cat /tmp/multinet/multi/worker.py_127.0.0.1_3335_log.txt
- ps aux | grep python
- PYTHONPATH=/opt/multinet py.test test
- cat /tmp/multinet/master_log.txt
- cat /tmp/multinet/multi/worker.py_127.0.0.1_3333_log.txt
- cat /tmp/multinet/multi/worker.py_127.0.0.1_3335_log.txt
- PYTHONPATH=/opt/multinet bin/cleanup --json-config config/test-config.json
- deactivate