forked from Annihil/mod_defender
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
45 lines (35 loc) · 790 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
sudo: required
os: linux
dist: trusty
language: cpp
compiler: gcc
addons:
apt:
packages:
- apache2
- apache2-dev
- g++-6
- gcc-6
sources:
- ubuntu-toolchain-r-test
before_install:
install:
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-6 90
- sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-6 90
matrix:
allow_failures:
exclude:
- compiler: "gcc"
include:
- os: linux
compiler: "gcc"
env: RUN="basic.sh"
- os: linux
compiler: "gcc"
env: RUN="https.sh"
script:
- /bin/bash ./tests/travis/do_run.sh
after_script:
- sudo cat /var/log/apache2/error.log
# - sudo cat /var/log/apache2/defender_match.log
- sudo cat /var/log/apache2/defender_json_match.log