Skip to content
This repository was archived by the owner on Sep 12, 2018. It is now read-only.

Commit 2d08d4d

Browse files
author
Olivier Gambier
committed
Attempted travis build fixing
Docker-DCO-1.1-Signed-off-by: Olivier Gambier <[email protected]> (github: dmp42)
1 parent 4be38d8 commit 2d08d4d

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.travis.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ python:
44
- "2.6"
55
- "2.7"
66

7+
before_install:
8+
- sudo apt-get update
9+
- sudo apt-get install redis-server
10+
- sudo apt-get install libevent-dev liblzma-dev
11+
712
install:
813
## This below should be separated when core lives elsewhere
914
# Install core tests reqs
@@ -16,11 +21,10 @@ install:
1621
- pip install -rrequirements/test.txt
1722
- pip install .
1823

24+
before_script:
25+
- redis-server &
26+
1927
script:
2028
- SETTINGS_FLAVOR=test DOCKER_REGISTRY_CONFIG=config_sample.yml flake8
2129
- SETTINGS_FLAVOR=test DOCKER_REGISTRY_CONFIG=config_sample.yml python setup.py nosetests
2230
- cd depends/docker-registry-core && python setup.py nosetests
23-
24-
before_install:
25-
- sudo apt-get update
26-
- sudo apt-get install libevent-dev liblzma-dev

0 commit comments

Comments
 (0)