summaryrefslogtreecommitdiffstats
path: root/tox.ini
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2017-08-23 12:03:51 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2017-08-23 20:41:03 +0200
commit0516ee14b46a7327325bc4e8354a9b610276a770 (patch)
treef2583ae3d31b4d649f316cf9e6bfd610087cc5b2 /tox.ini
parent2750fdc261941944526a4db7f540cc09480829c6 (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.ini11
1 files changed, 10 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index 94063c293..9fc18b39f 100644
--- a/tox.ini
+++ b/tox.ini
@@ -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