forked from taurus-org/taurus
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
30 lines (25 loc) · 842 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
language: python
sudo: required
matrix:
include:
- python: 2.7
os: linux
sudo: required
services:
- docker
env:
- DOCKER_IMG=cpascual/taurus-test:latest
- python: 2.7
os: linux
sudo: required
services:
- docker
env:
- DOCKER_IMG=cpascual/taurus-test:debian9
before_install:
# run cpascual/taurus-test docker container (Debian8 with taurus-deps and xvfb installed)
- docker run -d --name=taurus-test -h taurus-test --volume=`pwd`:/taurus $DOCKER_IMG
- sleep 10
script:
- docker exec taurus-test /bin/bash -c "cd taurus ; python setup.py install"
- docker exec -t taurus-test /bin/bash -c "TAURUS_STARTER_WAIT=5 taurustestsuite -e 'taurus\.core\.util\.test\.test_timer'"