c++ - Single make and parallel tests in Travis -
i need run once:
autoreconf -i mkdir build && cd build ../configure make
and run tests in different folders:
make check -c path1 make check -c path2
the tests can parallelized matrix feature:
language: - cpp compiler: - clang env: - test_path=path1 - test_path=path2 install: - autoreconf --install - mkdir build && cd build - ../configure - make script: - make check -c $test_path
the problem is: install step runs twice, e.g.:
- install + test path1
- install + test path2
is there way achieve like:
- install (runs once)
run 2 jobs tests (the script part of travis config):
- test path1
- test path2
Comments
Post a Comment