Skip to content

Commit 120aeb9

Browse files
committed
Reduce job execution time
1 parent 5760245 commit 120aeb9

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.travis.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,15 @@ jobs:
99

1010
install:
1111
- echo "Install"
12+
- sudo apt-get update
13+
- sudo apt install mongodb
14+
- sudo apt-get update
15+
- source ~/virtualenv/python3.8/bin/activate
1216
- pip install -U scikit-learn
1317
- export PYTHONPATH="${PYTHONPATH}:./src/jarvis"
1418

1519
script:
16-
- python -m unittest discover -s ./src -p "*tests.py"
20+
- sudo bash run_tests.sh
1721

1822
#notifications:
1923
# email: false

run_tests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Activate Python virtual env
44
# --------------------------------
55
export PYTHONPATH="${PYTHONPATH}:./src/jarvis"
6-
source jarvis_virtualenv/bin/activate
6+
#source jarvis_virtualenv/bin/activate
77

88
# --------------------------------
99
# Start MongoDB service

0 commit comments

Comments
 (0)