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

Commit 4be38d8

Browse files
author
Olivier Gambier
committed
Fix travis build
Travis runs hacking (through flake) using 2.6 as well - which is not a good thing... Docker-DCO-1.1-Signed-off-by: Olivier Gambier <[email protected]> (github: dmp42)
1 parent d861835 commit 4be38d8

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

.travis.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,10 @@ install:
1616
- pip install -rrequirements/test.txt
1717
- pip install .
1818

19-
script: SETTINGS_FLAVOR=test DOCKER_REGISTRY_CONFIG=config_sample.yml flake8 . && \
20-
SETTINGS_FLAVOR=test DOCKER_REGISTRY_CONFIG=config_sample.yml python setup.py nosetests && \
21-
cd depends/docker-registry-core && python setup.py nosetests
19+
script:
20+
- SETTINGS_FLAVOR=test DOCKER_REGISTRY_CONFIG=config_sample.yml flake8
21+
- SETTINGS_FLAVOR=test DOCKER_REGISTRY_CONFIG=config_sample.yml python setup.py nosetests
22+
- cd depends/docker-registry-core && python setup.py nosetests
2223

2324
before_install:
2425
- sudo apt-get update

docker_registry/run.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88

99
from argparse import ArgumentParser # noqa
1010
from argparse import RawTextHelpFormatter # noqa
11+
1112
import distutils.spawn
1213
import getpass
1314
import logging

scripts/diff-worker.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#!/usr/bin/env python
22

3-
import argparse
3+
import argparse # noqa
4+
45
import logging
56
import os
67

0 commit comments

Comments
 (0)