sudo: required
services:
- docker
language: python
python:
  - 2.7
before_install:
  - docker pull owasp/modsecurity-crs
  - docker run -ti -d --rm -p 80:80 owasp/modsecurity-crs
install: 
  - pip install -r ./util/integration/requirements.txt
  - pip install -r ./util/regression-tests/requirements.txt
script:
  - py.test -vs ./util/integration/format_tests.py
  - py.test -vs util/regression-tests/CRS_Tests.py --rule=tests/test.yaml
# safelist
branches:
  only:
  - v3.0/dev
  - v3.0/master

sudo: required
services:
- docker
language: python
python:
  - 2.7
before_install:
  - docker pull owasp/modsecurity-crs
  - docker run -ti -d --rm -p 80:80 owasp/modsecurity-crs
install: 
  - pip install -r ./util/integration/requirements.txt
  - pip install -r ./util/regression-tests/requirements.txt
script:
  - py.test -vs ./util/integration/format_tests.py
  - py.test -vs util/regression-tests/CRS_Tests.py --rule=util/regression-tests/tests/test.yaml
# safelist
branches:
  only:
  - v3.0/dev
  - v3.0/master

Set ruledir to correct location
Set ruledir to correct location

(cherry picked from commit cbfc1a1358d96e0c9d815b25e0f62efd2625da69)
