diff options
author | Cédric Ollivier <cedric.ollivier@orange.com> | 2017-08-23 12:03:51 +0200 |
---|---|---|
committer | Cédric Ollivier <cedric.ollivier@orange.com> | 2017-08-23 20:41:03 +0200 |
commit | 0516ee14b46a7327325bc4e8354a9b610276a770 (patch) | |
tree | f2583ae3d31b4d649f316cf9e6bfd610087cc5b2 /tox.ini | |
parent | 2750fdc261941944526a4db7f540cc09480829c6 (diff) |
Ensure that aarch64 patch can be applied
It simply creates a new testenv.
Change-Id: I2675d1b3240a59fa985bd91f979efe1896c3d605
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -1,5 +1,5 @@ [tox] -envlist = docs,pep8,pylint,py35,py27,perm +envlist = docs,pep8,pylint,py35,py27,perm,aarch64 [testenv] usedevelop = True @@ -60,3 +60,12 @@ commands = -exec ls -l \{\} + | grep '.' && exit 1 || exit 0" bash -c "\ find {[testenv:perm]path} -exec file \{\} + | grep CRLF && exit 1 || exit 0" + +[testenv:aarch64] +basepython = python2.7 +whitelist_externals = + bash + git +commands = + bash -c "patch -f -p1 < docker/Dockerfile.aarch64.patch" + git checkout docker/Dockerfile |