Skip to content

Commit e4f6d0d

Browse files
committed
UPD(travis) configure CI to qualify for free service on Travis.com
privileged docker pytest pytest pytest docker docker docker
1 parent 2c93495 commit e4f6d0d

1 file changed

Lines changed: 9 additions & 4 deletions

File tree

.travis.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
1+
arch:
2+
- arm64
3+
- ppc64le
4+
- s390x
5+
os: linux
16
language: python
27
python:
3-
- "2.7"
48
- "3.6"
59

610
install:
@@ -16,9 +20,10 @@ before_install:
1620
- cp ${PWD}/tests/.qdrouterd.conf ${PWD}/qpid-dispatch/qdrouterd.conf
1721
- docker pull vromero/activemq-artemis
1822
- docker pull rhmessagingqe/qpid-dispatch:ubuntu1804
19-
- docker run -v ${PWD}/artemis-data/override:/var/lib/artemis/etc-override -p 5672:5672 -d vromero/activemq-artemis
20-
- docker run -v ${PWD}/qpid-dispatch:/var/lib/qdrouterd -p 5673:5673 -d rhmessagingqe/qpid-dispatch:ubuntu1804
23+
- docker run -v ${PWD}/artemis-data/override:/var/lib/artemis/etc-override:Z -p 5672:5672 -d vromero/activemq-artemis:2-latest
24+
- docker run -v ${PWD}/qpid-dispatch:/var/lib/qdrouterd:Z -p 5673:5673 -d rhmessagingqe/qpid-dispatch:ubuntu1804
2125
- docker ps -a
2226

2327
script:
24-
- cd tests;python test_integration.py
28+
- python -m pip install pytest pytest-timeout
29+
- cd tests; python -m pytest --timeout=10 -v -s test_integration.py

0 commit comments

Comments
 (0)