about summary refs log tree commit diff stats
path: root/.travis.yml
diff options
context:
space:
mode:
authorAjax <commial@gmail.com>2019-01-14 11:19:24 +0100
committerAjax <commial@gmail.com>2019-01-14 11:50:38 +0100
commitff730af7966b1ba966bcd9e2f8687350f46978d0 (patch)
tree7a332ac762bd86217d733db4cecd05337b73dc20 /.travis.yml
parent7efbb4b9235ebe84cf658e5995c7e5d26efdf051 (diff)
downloadfocaccia-miasm-ff730af7966b1ba966bcd9e2f8687350f46978d0.tar.gz
focaccia-miasm-ff730af7966b1ba966bcd9e2f8687350f46978d0.zip
Travis: avoid redundancy between parallel tests cases
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml21
1 files changed, 12 insertions, 9 deletions
diff --git a/.travis.yml b/.travis.yml
index 8253cb24..f5c55368 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -11,14 +11,17 @@ addons:
 env:
   global: CXX=g++-5 LLVM_CONFIG=llvm-config-6.0
   matrix:
-    - MIASM_TEST_TAG=regression
-    - MIASM_TEST_TAG=example
-    - MIASM_TEST_TAG=long
-    - MIASM_TEST_TAG=llvm
-    - MIASM_TEST_TAG=gcc
-    - MIASM_TEST_TAG=z3
-    - MIASM_TEST_TAG=qemu
-    - MIASM_TEST_TAG=cparser
+    - MIASM_TEST_EXTRA_ARG="-o regression -t long,python,llvm,gcc,z3,qemu,cparser"
+    - MIASM_TEST_EXTRA_ARG="-o example -t long,python,llvm,gcc,z3,qemu,cparser"
+    - MIASM_TEST_EXTRA_ARG="-o long"
+    - MIASM_TEST_EXTRA_ARG="-o qemu -t llvm,gcc"
+    - MIASM_TEST_EXTRA_ARG="-o qemu -t python,gcc"
+    - MIASM_TEST_EXTRA_ARG="-o qemu -t python,llvm"
+    - MIASM_TEST_EXTRA_ARG="-o llvm -t qemu,long"
+    - MIASM_TEST_EXTRA_ARG="-o gcc -t qemu,long"
+    - MIASM_TEST_EXTRA_ARG="-o python -t qemu,long"
+    - MIASM_TEST_EXTRA_ARG="-o z3"
+    - MIASM_TEST_EXTRA_ARG="-o cparser"
 before_script:
 - pip install -r optional_requirements.txt
 # codespell
@@ -28,4 +31,4 @@ before_script:
 # install
 - python setup.py build build_ext
 - python setup.py install
-script: cd test && python test_all.py -o=$MIASM_TEST_TAG && git ls-files -o --exclude-standard
+script: cd test && python test_all.py $MIASM_TEST_EXTRA_ARG && git ls-files -o --exclude-standard