forked from secureCodeBox/secureCodeBox
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
32 lines (32 loc) · 1.22 KB
/
Copy path.travis.yml
File metadata and controls
32 lines (32 loc) · 1.22 KB
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
language: node_js
node_js:
- "12"
notifications:
email:
recipients:
on_success: never
on_failure: always
services:
- docker
env:
- DEFAULT_TAG=latest
- DEFAULT_TAG=unstable
script:
- cp test/.env.test .env
- docker-compose -f docker-compose.yml -f docker-compose.demo.yml up -d engine camundadb bodgeit juice-shop nginx unsafe-https old-wordpress ssh-service scanner-infrastructure-nmap scanner-webapplication-arachni scanner-webapplication-zap scanner-infrastructure-amass scanner-infrastructure-sslyze scanner-webserver-nikto scanner-infrastructure-ssh scanner-cms-wpscan scanner-infrastructure-ncrack
- cd test
- npm ci
- npm test -- --verbose --forceExit
after_failure:
- docker ps -a
- docker-compose logs engine
- docker-compose logs scanner-webapplication-zap
- docker-compose logs scanner-webapplication-arachni
- docker-compose logs scanner-infrastructure-amass
- docker-compose logs scanner-infrastructure-nmap
- docker-compose logs scanner-infrastructure-sslyze
- docker-compose logs scanner-infrastructure-ssh
- docker-compose logs scanner-infrastructure-ncrack
- docker-compose logs scanner-webserver-nikto
- docker-compose logs scanner-cms-wpscan